/**
 * Copyright 2017 StreamSets Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.streamsets.pipeline.stage.processor.parser;

import com.streamsets.pipeline.api.base.BaseEnumChooserValues;
import com.streamsets.pipeline.config.DataFormat;

public class DataFormatChooserValues extends BaseEnumChooserValues<DataFormat> {

  public DataFormatChooserValues() {
    super(
        DataFormat.SYSLOG,
        DataFormat.NETFLOW
    );
  }

}

/**
 * Copyright 2017 StreamSets Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.streamsets.pipeline.stage.processor.parser;

import com.streamsets.pipeline.api.base.BaseEnumChooserValues;
import com.streamsets.pipeline.config.DataFormat;

public class DataFormatChooserValues extends BaseEnumChooserValues<DataFormat> {

  public DataFormatChooserValues() {
    super(
        DataFormat.AVRO,
        DataFormat.DELIMITED,
        DataFormat.JSON,
        DataFormat.LOG,
        DataFormat.NETFLOW,
        DataFormat.PROTOBUF,
        DataFormat.SYSLOG,
        DataFormat.XML
    );
  }

}

Add additional data formats to DataParser processor
SDC-6927: Add additional data formats to DataParser processor

Added all data formats that seems "plausible" for a processor. E.g.
all of them except of:

* SDC_JSON
* BINARY
* TEXT
* DATAGRAM
* WHOLE_FILE

Change-Id: Ibbc048f7171d34141715a84e29300b0d2fa364ff
Reviewed-on: https://review.streamsets.net/9604
Tested-by: StreamSets CI <809627f37325a679986bd660c7713476a56d59cd@streamsets.com>
Reviewed-by: Jeff Evans <f3e731dfa293c7a83119d8aacfa41b5d2d780be9@streamsets.com>
