Package com.levigo.jadice.server.nodes
Enum DynamicPipelineNode.UnhandledInputAction
- java.lang.Object
-
- java.lang.Enum<DynamicPipelineNode.UnhandledInputAction>
-
- com.levigo.jadice.server.nodes.DynamicPipelineNode.UnhandledInputAction
-
- All Implemented Interfaces:
Serializable
,Comparable<DynamicPipelineNode.UnhandledInputAction>
- Enclosing class:
- DynamicPipelineNode
public static enum DynamicPipelineNode.UnhandledInputAction extends Enum<DynamicPipelineNode.UnhandledInputAction>
A choice of possible actions to take upon encountering an input stream of an unknown/unhandled type.If
DynamicPipelineNode.getTargetMimeType()
is set toDynamicPipelineNode.ANY_TYPE
all streams will be forwarded, even if their was no matching rule.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DynamicPipelineNode.UnhandledInputAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static DynamicPipelineNode.UnhandledInputAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARN
public static final DynamicPipelineNode.UnhandledInputAction WARN
Warn, but otherwise ignore the input.
-
FAIL
public static final DynamicPipelineNode.UnhandledInputAction FAIL
Abort the job.
-
-
Method Detail
-
values
public static DynamicPipelineNode.UnhandledInputAction[] 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 (DynamicPipelineNode.UnhandledInputAction c : DynamicPipelineNode.UnhandledInputAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DynamicPipelineNode.UnhandledInputAction valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-