Class 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 Detail

      • SysEventBuilder

        public SysEventBuilder()
    • Method Detail

      • 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