public abstract class AbstractStepResult extends Object implements StepResult
Modifier and Type | Class and Description |
---|---|
static class |
AbstractStepResult.Failed |
static class |
AbstractStepResult.Ignorable |
static class |
AbstractStepResult.NotPerformed |
static class |
AbstractStepResult.Pending |
static class |
AbstractStepResult.Skipped |
static class |
AbstractStepResult.Successful |
Modifier and Type | Field and Description |
---|---|
protected String |
step |
protected UUIDExceptionWrapper |
throwable |
Constructor and Description |
---|
AbstractStepResult(String step) |
AbstractStepResult(String step,
UUIDExceptionWrapper throwable) |
Modifier and Type | Method and Description |
---|---|
static StepResult |
failed(Method method,
UUIDExceptionWrapper e) |
static StepResult |
failed(String step,
UUIDExceptionWrapper e) |
UUIDExceptionWrapper |
getFailure() |
static StepResult |
ignorable(String step) |
static StepResult |
notPerformed(String step) |
String |
parametrisedStep() |
static StepResult |
pending(String step) |
static StepResult |
pending(String step,
PendingStepFound e) |
static StepResult |
skipped() |
static StepResult |
successful(String step) |
String |
toString() |
StepResult |
withParameterValues(String parametrisedStep) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
describeTo
protected final String step
protected final UUIDExceptionWrapper throwable
public AbstractStepResult(String step)
public AbstractStepResult(String step, UUIDExceptionWrapper throwable)
public String parametrisedStep()
parametrisedStep
in interface StepResult
public StepResult withParameterValues(String parametrisedStep)
withParameterValues
in interface StepResult
public UUIDExceptionWrapper getFailure()
getFailure
in interface StepResult
public static StepResult successful(String step)
public static StepResult ignorable(String step)
public static StepResult pending(String step)
public static StepResult pending(String step, PendingStepFound e)
public static StepResult notPerformed(String step)
public static StepResult failed(String step, UUIDExceptionWrapper e)
public static StepResult failed(Method method, UUIDExceptionWrapper e)
public static StepResult skipped()
Copyright © 2003-2014. All Rights Reserved.