Class SysEventBuilder

java.lang.Object
com.avoka.fc.core.sysevent.SysEventBuilder

public class SysEventBuilder extends Object
Provides support for building system event messages. This class would be used by the SysEvtFilter and BaseJob to add messages to the SysEventQueue.
Since:
18.5.0
  • Constructor Details

    • SysEventBuilder

      public SysEventBuilder()
  • Method Details

    • getThreadBuilder

      public static SysEventBuilder.ISysEventBuilder getThreadBuilder()
      Return the ThreadLocal system event builder instance. Will create a register a new instance if not already available on the thread.
      Returns:
      the thread local SysEventBuilder
    • hasThreadBuilder

      public static boolean hasThreadBuilder()
      Returns:
      true if has a ThreadBuilder
    • setThreadBuilder

      public static void setThreadBuilder(SysEventBuilder.ISysEventBuilder sysEventBuilder)
      Set the thread builder.
      Parameters:
      sysEventBuilder - the thread builder
    • clearThreadBuilder

      public static void clearThreadBuilder()
      This method will remove the ThreadLocal system event builder value