Package ch.ivyteam.ivy.event
Enum Class ISystemEventDispatcher.DispatchStatus
java.lang.Object
java.lang.Enum<ISystemEventDispatcher.DispatchStatus>
ch.ivyteam.ivy.event.ISystemEventDispatcher.DispatchStatus
- All Implemented Interfaces:
Serializable
,Comparable<ISystemEventDispatcher.DispatchStatus>
,java.lang.constant.Constable
- 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 ConstantDescriptionEvent has been dispatched, but errors occurred.Event has been dispatchedNot sent, wrong or missing token -
Method Summary
Modifier and TypeMethodDescriptionboolean
ok()
Check if this status is ok and event has been dispatched.
-
Enum Constant Details
-
OK
Event has been dispatched- API:
- This public API is available in Java.
-
ERROR
Event has been dispatched, but errors occurred. they can be accessed withgetErrors()
- API:
- This public API is available in Java.
-
WRONG_TOKEN
Not sent, wrong or missing token- API:
- This public API is available in Java.
-
-
Method Details
-
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 Java.
-