Class TaskRunEvent

  • All Implemented Interfaces:
    EventObj

    public class TaskRunEvent
    extends java.lang.Object
    implements EventObj
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskRunEvent()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TaskRunEvent create​(Task task, java.lang.String server, java.time.Instant start, java.time.Instant end)
      Creates event task run event
      static TaskRunEvent create​(Task task, java.lang.String server, java.time.Instant start, java.time.Instant end, java.lang.Exception exception)
      Creates event task run event
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TaskRunEvent

        public TaskRunEvent()
    • Method Detail

      • create

        public static TaskRunEvent create​(Task task,
                                          java.lang.String server,
                                          java.time.Instant start,
                                          java.time.Instant end)
        Creates event task run event
        Parameters:
        task - is the task
        server - is the name of server where task run
        start - is the start time
        end - is the end time
        Returns:
        instance of task run event
      • create

        public static TaskRunEvent create​(Task task,
                                          java.lang.String server,
                                          java.time.Instant start,
                                          java.time.Instant end,
                                          java.lang.Exception exception)
        Creates event task run event
        Parameters:
        task - is the task
        server - is the name of server where task run
        start - is the start time
        end - is the end time
        exception - when exception occur
        Returns:
        instance of task run event