|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.pipeline.validation.ValidationFailure
public class ValidationFailure
This class is used to store a collection of information about a particular validation failure.
Nested Class Summary | |
---|---|
static class |
ValidationFailure.Type
Enumeration of possible causes of validation failure |
Constructor Summary | |
---|---|
ValidationFailure(ValidationFailure.Type type,
String message,
Stage upstream,
Stage downstream)
Creates a new instance of ValidationError |
Method Summary | |
---|---|
Stage |
getDownstreamStage()
The stage downstream of the connection that could not be validated |
String |
getMessage()
Returns the descriptive message about the error |
ValidationFailure.Type |
getType()
Type identifying what sort of problem was encountered |
Stage |
getUpstreamStage()
The stage upstream of the connection that could not be validated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationFailure(ValidationFailure.Type type, String message, Stage upstream, Stage downstream)
type
- The type of problem encounteredmessage
- A message with more detailed information about the problemupstream
- A reference to the upstream stagedownstream
- A reference to a downstream stageMethod Detail |
---|
public ValidationFailure.Type getType()
public String getMessage()
public Stage getUpstreamStage()
public Stage getDownstreamStage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |