|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bitrepository.service.workflow.WorkflowStatistic
public class WorkflowStatistic
Provides details about the statistics of an workflow. The statistics will not be fully populated until the workflow has finished.
Constructor Summary | |
---|---|
WorkflowStatistic(String name)
Creates a fresh WorkflowStatistic instance. |
Method Summary | |
---|---|
void |
finish()
|
void |
finishSubStatistic()
Marks the end time of a sub step of the statistics statistics. |
WorkflowStatistic |
getCurrentSubStatistic()
Will return the statistics for the current step if the workflow statistics have an active step. |
Date |
getFinish()
|
String |
getFullStatistics()
|
String |
getName()
|
String |
getPartStatistics()
Will generate a string of the form 'step duration'/'workflow duration'. |
Date |
getStart()
|
void |
start()
Marks the start time of the statistics. |
void |
startSubStatistic(String name)
Marks the start time of a sub step of the statistics statistics. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkflowStatistic(String name)
WorkflowStatistic
instance.
name
- The name of this instance to be used as title for the statistics.Method Detail |
---|
public void start()
public void startSubStatistic(String name)
name
- The name of the substep to be used as identifier in the statistics.public void finishSubStatistic()
public String getFullStatistics()
public String getPartStatistics()
public WorkflowStatistic getCurrentSubStatistic()
public Date getStart()
public Date getFinish()
public void finish()
public String getName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |