org.jbpm.api.history
Interface HistoryActivityInstance


public interface HistoryActivityInstance

represents one occurrence of an activity during a process instance.

Author:
Tom Baeyens

Method Summary
 java.lang.String getActivityName()
          name of the activity that was executed
 long getDuration()
          duration in milleseconds
 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.util.Date getStartTime()
          time when the activity was entered
 java.util.List<java.lang.String> getTransitionNames()
          The names of the transitions that were selected as outgoing transitions for the execution.
 

Method Detail

getActivityName

java.lang.String getActivityName()
name of the activity that was executed


getStartTime

java.util.Date getStartTime()
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 milleseconds


getExecutionId

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


getTransitionNames

java.util.List<java.lang.String> getTransitionNames()
The names of the transitions that were selected as outgoing transitions for the execution.



Copyright © 2010 JBoss Community. All Rights Reserved.