|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ValidationFailure.Type> org.apache.commons.pipeline.validation.ValidationFailure.Type
public static enum ValidationFailure.Type
Enumeration of possible causes of validation failure
Enum Constant Summary | |
---|---|
BRANCH_CONNECT
Indicates that a branch could not consume the output (type mismatch) of pipeline stages feeding the branch. |
|
BRANCH_NOT_FOUND
Indicates that a branch to consume the branch output of a stage could not be found. |
|
OTHER
Other validation error - see detail message. |
|
STAGE_CONNECT
Indicates that a stage appears to be unable to consume the output of the previous stage |
Method Summary | |
---|---|
static ValidationFailure.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ValidationFailure.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ValidationFailure.Type STAGE_CONNECT
public static final ValidationFailure.Type BRANCH_CONNECT
public static final ValidationFailure.Type BRANCH_NOT_FOUND
public static final ValidationFailure.Type OTHER
Method Detail |
---|
public static ValidationFailure.Type[] values()
for (ValidationFailure.Type c : ValidationFailure.Type.values()) System.out.println(c);
public static ValidationFailure.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |