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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.jbehave.core.steps.StepResult
StepResult.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final UUIDExceptionWrapperprotected final StepResult.Type -
Constructor Summary
ConstructorsConstructorDescriptionAbstractStepResult(String step, StepResult.Type type, UUIDExceptionWrapper throwable) AbstractStepResult(StepResult.Type type, String step) -
Method Summary
Modifier and TypeMethodDescriptionstatic StepResultstatic StepResultfailed(Method method, UUIDExceptionWrapper e) static StepResultfailed(String step, UUIDExceptionWrapper e) static StepResultstatic StepResultnotPerformed(String step) static StepResultstatic StepResultsetTimings(Timer timer) static StepResultskipped()static StepResultsuccessful(Method method) static StepResultsuccessful(String step) toString()withParameterValues(String parametrisedStep) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jbehave.core.steps.StepResult
describeTo
-
Field Details
-
step
-
type
-
throwable
-
-
Constructor Details
-
AbstractStepResult
-
AbstractStepResult
-
-
Method Details
-
parametrisedStep
- Specified by:
parametrisedStepin interfaceStepResult
-
withParameterValues
- Specified by:
withParameterValuesin interfaceStepResult
-
getTiming
-
setTimings
- Specified by:
setTimingsin interfaceStepResult
-
getFailure
- Specified by:
getFailurein interfaceStepResult
-
toString
-
successful
-
successful
-
ignorable
-
comment
-
pending
-
pending
-
notPerformed
-
failed
-
failed
-
skipped
-