Interface StepState
- All Known Subinterfaces:
StepStateLight
public interface StepState
Information about a step.
A step is a concrete action to be performed to accomplish a task. XL Deploy ships with many step implementations
for common actions. Other, middleware-specific steps are contributed by the plugins.
-
Method Details
-
getDescription
String getDescription()- Returns:
- Textual description of the step.
-
getState
StepExecutionState getState()- Returns:
- The current state of the step.
-
getLog
String getLog()- Returns:
- The entire log output of the last attempt of the step. This may be long.
-
getPreviousAttemptsLogs
- Returns:
- Lists the entire logs of all previous attempts of this step, if recorded; or null
-
getLogs
- Returns:
- Lists the entire logs of all attempts. Combines getLog() and previousAttemptsLogs(). Never null.
-
getStartDate
org.joda.time.DateTime getStartDate()- Returns:
- The date when the step was started.
-
getCompletionDate
org.joda.time.DateTime getCompletionDate()- Returns:
- The date when the step was completed.
-
getFailureCount
int getFailureCount()- Returns:
- The number of times this step has failed.
-
getMetadata
- Returns:
- A map with step-specific entries (for example, the path to a script).
-
getSkippable
boolean getSkippable()
-