|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.linkcheck.validation.LinkValidationResult
public class LinkValidationResult
This class is used to return status responses from the validation handlers. A persistent result means that it can be stored in the persistent cache and used across runs.
Field Summary | |
---|---|
static int |
NOTMINE
Validation result level: not mine. |
Constructor Summary | |
---|---|
LinkValidationResult(int stat,
boolean persistent,
String message)
Constructor: initializes status, persistent and errorMessage. |
Method Summary | |
---|---|
String |
getErrorMessage()
Returns the errorMessage. |
int |
getStatus()
Returns the status. |
boolean |
isPersistent()
Returns the persistent property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NOTMINE
Constructor Detail |
---|
public LinkValidationResult(int stat, boolean persistent, String message)
stat
- The status.persistent
- The persistent.message
- The errorMessage.Method Detail |
---|
public boolean isPersistent()
public int getStatus()
public String getErrorMessage()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |