public interface TristateResult
TristateResult.Result.| Modifier and Type | Interface and Description |
|---|---|
static class |
TristateResult.Result |
| Modifier and Type | Method and Description |
|---|---|
TristateResult.Result |
getOriginalResult()
Returns the original
TristateResult.Result of this event. |
TristateResult.Result |
getResult()
Returns the
TristateResult.Result of this event. |
boolean |
hasAllowResult()
Returns whether the
TristateResult.Result.ALLOW can be
used. |
void |
setResult(TristateResult.Result value)
Sets the result value for this event.
|
boolean hasAllowResult()
TristateResult.Result.ALLOW can be
used.TristateResult.Result getOriginalResult()
TristateResult.Result of this event.TristateResult.Result getResult()
TristateResult.Result of this event.void setResult(TristateResult.Result value) throws IllegalStateException
Note: The functionality of setting the TristateResult.Result is defined on a
per-event basis.
value - The new resultIllegalStateException - if
TristateResult.Result.ALLOW is
given, but hasAllowResult() is false