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 Constants
    Enum Constant
    Description
    Event has been dispatched, but errors occurred.
    Event has been dispatched
    Not sent, wrong or missing token
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    ok()
    Check if this status is ok and event has been dispatched.
  • Enum Constant Details

    • 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 with getErrors()
      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 Details

    • ok

      public boolean ok()
      Check if this status is ok and event has been dispatched.
      Returns:
      true only for OK, false otherwise
      API:
      This public API is available in IvyScript and Java. It has the visibility ADVANCED.