public class Step
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
Step.Status |
static class |
Step.StepContextType |
static class |
Step.StepType |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
@Nullable java.lang.Throwable |
getCaughtException()
Gets the exception that was thrown during the execution of this step.
|
java.util.List<Step> |
getChildren()
Gets the children for this step.
|
Step.StepContextType |
getContextType() |
long |
getDuration() |
long |
getEndTime() |
int |
getId() |
java.lang.String |
getName()
Gets a short descriptive name for this step.
|
@Nullable Step |
getParent()
Gets the parent for this step.
|
@Nullable java.lang.String |
getPostStepContent()
The content provided for this step after action was taken by the step.
|
@Nullable java.lang.String |
getPreStepContent()
The content provided for this step before any action was taken by the step.
|
long |
getStartTime() |
Step.Status |
getStatus()
Gets the status of this Step.
|
Step.StepType |
getType()
Gets this Steps type.
|
public java.lang.String getName()
public int getId()
public Step.StepType getType()
public Step.StepContextType getContextType()
public Step.Status getStatus()
@Nullable public @Nullable java.lang.Throwable getCaughtException()
null if the step executed successfully.@Nullable public @Nullable Step getParent()
public java.util.List<Step> getChildren()
@Nullable public @Nullable java.lang.String getPreStepContent()
@Nullable public @Nullable java.lang.String getPostStepContent()
public long getStartTime()
public long getEndTime()
public long getDuration()
public void close()
close in interface java.lang.AutoCloseable