org.jbpm.api.history
Interface HistoryTask


public interface HistoryTask

history record for a task instance. In contrast to the Task, this entity will remain after the task has been completed for history purposes.

Author:
Tom Baeyens

Field Summary
static java.lang.String STATE_COMPLETED
           
static java.lang.String STATE_OBSOLETE
           
 
Method Summary
 java.lang.String getAssignee()
          userId of the person that is responsible for this task
 java.util.Date getCreateTime()
          time when the activity was entered
 long getDuration()
          duration in milliseconds
 java.util.Date getEndTime()
          might be null in case the activity is still active
 java.lang.String getExecutionId()
          the execution that was related to this activity occurrence
 java.lang.String getId()
          the unique id for this task that is used as a reference in the service methods
 java.lang.String getOutcome()
          the outcome of this task
 java.lang.String getState()
          history task state
 

Field Detail

STATE_COMPLETED

static final java.lang.String STATE_COMPLETED
See Also:
Constant Field Values

STATE_OBSOLETE

static final java.lang.String STATE_OBSOLETE
See Also:
Constant Field Values
Method Detail

getId

java.lang.String getId()
the unique id for this task that is used as a reference in the service methods


getExecutionId

java.lang.String getExecutionId()
the execution that was related to this activity occurrence


getCreateTime

java.util.Date getCreateTime()
time when the activity was entered


getEndTime

java.util.Date getEndTime()
might be null in case the activity is still active


getDuration

long getDuration()
duration in milliseconds


getState

java.lang.String getState()
history task state


getAssignee

java.lang.String getAssignee()
userId of the person that is responsible for this task


getOutcome

java.lang.String getOutcome()
the outcome of this task



Copyright © 2010 JBoss Community. All Rights Reserved.