Class TaskOperationView

    • Constructor Detail

      • TaskOperationView

        public TaskOperationView​(org.kie.api.task.TaskEvent taskEvent,
                                 org.kie.internal.task.api.model.TaskEvent.TaskEventType type,
                                 org.kie.api.task.TaskLifeCycleEventListener.AssignmentType assignType)
    • Method Detail

      • getType

        public org.kie.internal.task.api.model.TaskEvent.TaskEventType getType()
      • getAssignType

        public org.kie.api.task.TaskLifeCycleEventListener.AssignmentType getAssignType()
      • getUserId

        public String getUserId()
      • getDate

        public Date getDate()
      • copyFromSource

        public void copyFromSource()
        Description copied from interface: InstanceView
        Triggers to copy data from source to view. Different implementations of the view might have different needs on when this would happen. PersistentEventManager will invoke it before delivering if it was not done before.
        Specified by:
        copyFromSource in interface InstanceView<org.kie.api.task.TaskEvent>
      • getSource

        public org.kie.api.task.TaskEvent getSource()
        Description copied from interface: InstanceView
        Returns "raw" object instance for this view
        Specified by:
        getSource in interface InstanceView<org.kie.api.task.TaskEvent>
        Returns:
        source of this view
      • getCompositeId

        public String getCompositeId()
        Description copied from interface: InstanceView
        Returns the id of the view. Might be used by implementors to determine if two views are representations of the same underlying object
        Specified by:
        getCompositeId in interface InstanceView<org.kie.api.task.TaskEvent>