|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.objects.checker.IObjectChecker.Result
public static class IObjectChecker.Result
Represents the result of a check.
| Nested Class Summary | |
|---|---|
static class |
IObjectChecker.Result.Status
|
| Field Summary | |
|---|---|
Throwable |
cause
An optional cause of a failure. |
String |
reason
The reason why a check succeeded/failed. |
IObjectChecker.Result.Status |
status
The status of the check. |
static IObjectChecker.Result |
SUCCESS
A singleton that can be used for successful checks |
| Constructor Summary | |
|---|---|
IObjectChecker.Result(IObjectChecker.Result.Status status,
String reason)
Constructor. |
|
IObjectChecker.Result(IObjectChecker.Result.Status status,
String reason,
Throwable cause)
Constructor. |
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final IObjectChecker.Result SUCCESS
public final IObjectChecker.Result.Status status
public final String reason
public final Throwable cause
| Constructor Detail |
|---|
public IObjectChecker.Result(IObjectChecker.Result.Status status,
String reason)
status - the status of the resultreason - the reason of successful/failed check
public IObjectChecker.Result(IObjectChecker.Result.Status status,
String reason,
Throwable cause)
status - the status of the resultreason - the reason of successful/failed checkcause - the cause of a failure. Optional.| Method Detail |
|---|
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||