com.ibm.streams.flow.declare
Enum InputPortDeclaration.CongestionPolicy
- java.lang.Object
-
- java.lang.Enum<InputPortDeclaration.CongestionPolicy>
-
- com.ibm.streams.flow.declare.InputPortDeclaration.CongestionPolicy
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<InputPortDeclaration.CongestionPolicy>
- Enclosing interface:
- InputPortDeclaration
public static enum InputPortDeclaration.CongestionPolicy extends java.lang.Enum<InputPortDeclaration.CongestionPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DROP_FIRST
DROP_LAST
WAIT
-
Method Summary
Methods Modifier and Type Method and Description static InputPortDeclaration.CongestionPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InputPortDeclaration.CongestionPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAIT
public static final InputPortDeclaration.CongestionPolicy WAIT
-
DROP_FIRST
public static final InputPortDeclaration.CongestionPolicy DROP_FIRST
-
DROP_LAST
public static final InputPortDeclaration.CongestionPolicy DROP_LAST
-
-
Method Detail
-
values
public static InputPortDeclaration.CongestionPolicy[] 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 (InputPortDeclaration.CongestionPolicy c : InputPortDeclaration.CongestionPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputPortDeclaration.CongestionPolicy 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
-
-