com.ibm.streams.operator
Enum StreamingOutput.ExportType
- java.lang.Object
-
- java.lang.Enum<StreamingOutput.ExportType>
-
- com.ibm.streams.operator.StreamingOutput.ExportType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StreamingOutput.ExportType>
- Enclosing interface:
- StreamingOutput<T>
public static enum StreamingOutput.ExportType extends java.lang.Enum<StreamingOutput.ExportType>
Enumeration for how a port exports its stream.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BY_NAME
Port exports its stream by name.BY_PROPERTIES
Port exports its stream using stream properties.NOT_EXPORTED
Port is not exported, is private to the application.
-
Method Summary
Methods Modifier and Type Method and Description static StreamingOutput.ExportType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StreamingOutput.ExportType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BY_NAME
public static final StreamingOutput.ExportType BY_NAME
Port exports its stream by name.
-
BY_PROPERTIES
public static final StreamingOutput.ExportType BY_PROPERTIES
Port exports its stream using stream properties.
-
NOT_EXPORTED
public static final StreamingOutput.ExportType NOT_EXPORTED
Port is not exported, is private to the application.
-
-
Method Detail
-
values
public static StreamingOutput.ExportType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamingOutput.ExportType c : StreamingOutput.ExportType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamingOutput.ExportType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-