public enum StandardFlowFileMediaType extends Enum<StandardFlowFileMediaType> implements FlowFileMediaType
| Enum Constant and Description |
|---|
VERSION_1 |
VERSION_2 |
VERSION_3 |
VERSION_UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
String |
getMediaType()
Get Media Type Definition with type and subtype components
|
static StandardFlowFileMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardFlowFileMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardFlowFileMediaType VERSION_1
public static final StandardFlowFileMediaType VERSION_2
public static final StandardFlowFileMediaType VERSION_3
public static final StandardFlowFileMediaType VERSION_UNSPECIFIED
private String mediaType
public static StandardFlowFileMediaType[] values()
for (StandardFlowFileMediaType c : StandardFlowFileMediaType.values()) System.out.println(c);
public static StandardFlowFileMediaType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getMediaType()
FlowFileMediaTypegetMediaType in interface FlowFileMediaTypeCopyright © 2023 Apache NiFi Project. All rights reserved.