Package org.jbehave.core.steps
Class AbstractStepResult
java.lang.Object
org.jbehave.core.steps.AbstractStepResult
- All Implemented Interfaces:
StepResult
- Direct Known Subclasses:
AbstractStepResult.Comment
,AbstractStepResult.Failed
,AbstractStepResult.Ignorable
,AbstractStepResult.NotPerformed
,AbstractStepResult.Pending
,AbstractStepResult.Skipped
,AbstractStepResult.Successful
Represents the possible step results:
- Failed
- NotPerformed
- Pending
- Successful
- Ignorable
- Skipped
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface org.jbehave.core.steps.StepResult
StepResult.Type
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final UUIDExceptionWrapper
protected final StepResult.Type
-
Constructor Summary
ConstructorDescriptionAbstractStepResult
(String step, StepResult.Type type, UUIDExceptionWrapper throwable) AbstractStepResult
(StepResult.Type type, String step) -
Method Summary
Modifier and TypeMethodDescriptionstatic StepResult
static StepResult
failed
(Method method, UUIDExceptionWrapper e) static StepResult
failed
(String step, UUIDExceptionWrapper e) static StepResult
static StepResult
notPerformed
(String step) static StepResult
static StepResult
setTimings
(Timer timer) static StepResult
skipped()
static StepResult
successful
(Method method) static StepResult
successful
(String step) toString()
withParameterValues
(String parametrisedStep) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jbehave.core.steps.StepResult
describeTo
-
Field Details
-
step
-
type
-
throwable
-
-
Constructor Details
-
AbstractStepResult
-
AbstractStepResult
-
-
Method Details
-
parametrisedStep
- Specified by:
parametrisedStep
in interfaceStepResult
-
withParameterValues
- Specified by:
withParameterValues
in interfaceStepResult
-
getTiming
-
setTimings
- Specified by:
setTimings
in interfaceStepResult
-
getFailure
- Specified by:
getFailure
in interfaceStepResult
-
toString
-
successful
-
successful
-
ignorable
-
comment
-
pending
-
pending
-
notPerformed
-
failed
-
failed
-
skipped
-