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
 

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



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.