Enum Class Step.DiscardOutput
- All Implemented Interfaces:
Serializable,Comparable<Step.DiscardOutput>,Constable
- Enclosing interface:
- Step
This enum define the value of the discard output attribute of the step tag in the Eoulsan
workflow file.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest if result must be copied to output.static Step.DiscardOutputThis method define a parser for the values of the "discardoutput" attribute of the Eoulsan workflow.static Step.DiscardOutputReturns the enum constant of this class with the specified name.static Step.DiscardOutput[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NO
-
ASAP
-
SUCCESS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isCopyResultsToOutput
public boolean isCopyResultsToOutput()Test if result must be copied to output.- Returns:
- true if result must be copied to output
-
parse
This method define a parser for the values of the "discardoutput" attribute of the Eoulsan workflow.- Parameters:
s- the input string- Returns:
- a DiscardOutput value
- Throws:
EoulsanException- if the attribute value is unknown
-