Class FieldDevelopmentDesignOrchestrator.WorkflowStep
java.lang.Object
neqsim.process.mechanicaldesign.FieldDevelopmentDesignOrchestrator.WorkflowStep
- All Implemented Interfaces:
Serializable
- Enclosing class:
FieldDevelopmentDesignOrchestrator
public static class FieldDevelopmentDesignOrchestrator.WorkflowStep
extends Object
implements Serializable
Represents a single workflow step.
- Version:
- 1.0
- Author:
- esol
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidComplete the step.longGet duration in milliseconds.Get result message.Get step name.booleanCheck if step succeeded.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
stepName
-
startTime
private final long startTime -
endTime
private long endTime -
success
private boolean success -
message
-
-
Constructor Details
-
WorkflowStep
-
-
Method Details
-
complete
Complete the step.- Parameters:
success- whether step succeededmessage- result message
-
getStepName
-
getDurationMs
public long getDurationMs()Get duration in milliseconds.- Returns:
- duration in ms
-
isSuccess
public boolean isSuccess()Check if step succeeded.- Returns:
- true if successful
-
getMessage
-