|
Version: ${maven.project.version} | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.soaplab.services.events.AnalysisEvent
org.soaplab.services.events.StepProgressEvent
public class StepProgressEvent
A class representing an event that reports the numnber of total and completed steps for the underlying service/analysis/job.
| Field Summary |
|---|
| Fields inherited from interface org.soaplab.services.events.EventConstants |
|---|
ANALYSIS_EVENT, HEARTBEAT_PROGRESS, MESSAGE, NEW_STATE, PERCENT_PROGRESS, PERCENTAGE, PREVIOUS_STATE, REMAINING, STATE_CHANGED, STEP_PROGRESS, STEPS_COMPLETED, TIME_PROGRESS, TIMESTAMP, TIMESTAMP_FORMAT, TOTAL_STEPS |
| Constructor Summary | |
|---|---|
StepProgressEvent(int totalSteps,
int completedSteps)
A usual constructor, taking just the number of total and completed steps. |
|
StepProgressEvent(java.lang.Object source,
java.lang.String message,
int totalSteps,
int completedSteps)
The most general constructor, taking a message, number of total and completed steps, and the event source. |
|
StepProgressEvent(java.lang.String message,
int totalSteps,
int completedSteps)
A constructor taking a general message and number of total and completed steps. |
|
| Method Summary | |
|---|---|
int |
getCompletedSteps()
Get the number of completed steps. |
int |
getTotalSteps()
Get the number of total steps. |
org.jdom.Element |
toXML()
Create an XML element representing this event. |
| Methods inherited from class org.soaplab.services.events.AnalysisEvent |
|---|
formatSource, getMessage, getSource, getTimestamp, isOlderThan, setTimestamp, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StepProgressEvent(java.lang.Object source,
java.lang.String message,
int totalSteps,
int completedSteps)
public StepProgressEvent(java.lang.String message,
int totalSteps,
int completedSteps)
public StepProgressEvent(int totalSteps,
int completedSteps)
| Method Detail |
|---|
public int getTotalSteps()
public int getCompletedSteps()
public org.jdom.Element toXML()
toXML in class AnalysisEvent
|
Version: ${maven.project.version} | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||