public abstract class AbstractStepResult extends java.lang.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 java.lang.String |
step |
protected UUIDExceptionWrapper |
throwable |
Constructor and Description |
---|
AbstractStepResult(java.lang.String step) |
AbstractStepResult(java.lang.String step,
UUIDExceptionWrapper throwable) |
Modifier and Type | Method and Description |
---|---|
static StepResult |
failed(java.lang.reflect.Method method,
UUIDExceptionWrapper e) |
static StepResult |
failed(java.lang.String step,
UUIDExceptionWrapper e) |
UUIDExceptionWrapper |
getFailure() |
static StepResult |
ignorable(java.lang.String step) |
static StepResult |
notPerformed(java.lang.String step) |
java.lang.String |
parametrisedStep() |
static StepResult |
pending(java.lang.String step) |
static StepResult |
pending(java.lang.String step,
PendingStepFound e) |
static StepResult |
skipped() |
static StepResult |
successful(java.lang.String step) |
java.lang.String |
toString() |
StepResult |
withParameterValues(java.lang.String parametrisedStep) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
describeTo
protected final java.lang.String step
protected final UUIDExceptionWrapper throwable
public AbstractStepResult(java.lang.String step)
public AbstractStepResult(java.lang.String step, UUIDExceptionWrapper throwable)
public java.lang.String parametrisedStep()
parametrisedStep
in interface StepResult
public StepResult withParameterValues(java.lang.String parametrisedStep)
withParameterValues
in interface StepResult
public UUIDExceptionWrapper getFailure()
getFailure
in interface StepResult
public java.lang.String toString()
toString
in class java.lang.Object
public static StepResult successful(java.lang.String step)
public static StepResult ignorable(java.lang.String step)
public static StepResult pending(java.lang.String step)
public static StepResult pending(java.lang.String step, PendingStepFound e)
public static StepResult notPerformed(java.lang.String step)
public static StepResult failed(java.lang.String step, UUIDExceptionWrapper e)
public static StepResult failed(java.lang.reflect.Method method, UUIDExceptionWrapper e)
public static StepResult skipped()
Copyright © 2003-2014. All Rights Reserved.