Package ch.ivyteam.ivy.event
Enum ISystemEventDispatcher.DispatchStatus
- java.lang.Object
-
- java.lang.Enum<ISystemEventDispatcher.DispatchStatus>
-
- ch.ivyteam.ivy.event.ISystemEventDispatcher.DispatchStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ISystemEventDispatcher.DispatchStatus>
- Enclosing interface:
- ISystemEventDispatcher
public static enum ISystemEventDispatcher.DispatchStatus extends Enum<ISystemEventDispatcher.DispatchStatus>
Status of the event dispatch.- API:
- This is a public API.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
Event has been dispatched, but errors occurred.OK
Event has been dispatchedWRONG_TOKEN
Not sent, wrong or missing token
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ok()
Check if this status is ok and event has been dispatched.
-
-
-
Enum Constant Detail
-
OK
public static final ISystemEventDispatcher.DispatchStatus OK
Event has been dispatched- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
ERROR
public static final ISystemEventDispatcher.DispatchStatus ERROR
Event has been dispatched, but errors occurred. they can be accessed withgetErrors()
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
WRONG_TOKEN
public static final ISystemEventDispatcher.DispatchStatus WRONG_TOKEN
Not sent, wrong or missing token- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-
Method Detail
-
ok
public boolean ok()
Check if this status is ok and event has been dispatched.- Returns:
true
only forOK
,false
otherwise- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-