Class TaskEvent


  • public class TaskEvent
    extends org.osgi.service.event.Event
    TaskManagement Event
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TASK_EVENT_TYPE
      The event property name for the type of the event.
      static java.lang.String TASK_EVENT_TYPE_STRING
      The event property name for the name of the type of event.
      static java.lang.String TASK_ID
      The Id of the task associated with this event.
      static java.lang.String TASK_TYPE_NAME
      The tasktype name of the task associated with this event.
      static java.lang.String TOPIC
      Topic for Task Events
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskEvent​(java.util.Map<java.lang.String,​java.lang.Object> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TaskEventType getEventType()
      Helper to return the task event type for this event
      java.lang.String getTaskId()
      Helper to return the task id for this task event.
      java.lang.String getTaskType()
      Helper to return the task type for this task
      • Methods inherited from class org.osgi.service.event.Event

        containsProperty, equals, getProperty, getPropertyNames, getTopic, hashCode, matches, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TaskEvent

        public TaskEvent​(java.util.Map<java.lang.String,​java.lang.Object> properties)
    • Method Detail

      • getEventType

        public TaskEventType getEventType()
        Helper to return the task event type for this event
        Returns:
        the task event type
      • getTaskId

        public java.lang.String getTaskId()
        Helper to return the task id for this task event.
        Returns:
        the Id of the task associated with this event.
      • getTaskType

        public java.lang.String getTaskType()
        Helper to return the task type for this task
        Returns:
        task type string