public abstract class AbstractStepResult extends Object implements StepResult
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractStepResult.Comment |
static class |
AbstractStepResult.Failed |
static class |
AbstractStepResult.Ignorable |
static class |
AbstractStepResult.NotPerformed |
static class |
AbstractStepResult.Pending |
static class |
AbstractStepResult.Silent |
static class |
AbstractStepResult.Skipped |
static class |
AbstractStepResult.Successful |
StepResult.Type| Modifier and Type | Field and Description |
|---|---|
protected String |
step |
protected UUIDExceptionWrapper |
throwable |
protected StepResult.Type |
type |
| Constructor and Description |
|---|
AbstractStepResult(StepResult.Type type,
String step) |
AbstractStepResult(String step,
StepResult.Type type,
UUIDExceptionWrapper throwable) |
| Modifier and Type | Method and Description |
|---|---|
static StepResult |
comment(String step) |
long |
durationInMillis() |
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) |
StepResult |
setTimings(Timer timer) |
static StepResult |
silent(Method method) |
static StepResult |
skipped() |
static StepResult |
successful(Method method) |
static StepResult |
successful(String step) |
String |
toString() |
StepResult |
withParameterValues(String parametrisedStep) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdescribeToprotected final String step
protected final StepResult.Type type
protected final UUIDExceptionWrapper throwable
public AbstractStepResult(StepResult.Type type, String step)
public AbstractStepResult(String step, StepResult.Type type, UUIDExceptionWrapper throwable)
public String parametrisedStep()
parametrisedStep in interface StepResultpublic StepResult withParameterValues(String parametrisedStep)
withParameterValues in interface StepResultpublic long durationInMillis()
public StepResult setTimings(Timer timer)
setTimings in interface StepResultpublic UUIDExceptionWrapper getFailure()
getFailure in interface StepResultpublic static StepResult successful(String step)
public static StepResult successful(Method method)
public static StepResult ignorable(String step)
public static StepResult comment(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 silent(Method method)
public static StepResult skipped()
Copyright © 2003–2016. All rights reserved.