Package org.jbehave.core.steps
Class StepCreator.ReportingAbstractStep
- java.lang.Object
-
- org.jbehave.core.steps.StepCreator.AbstractStep
-
- org.jbehave.core.steps.StepCreator.ReportingAbstractStep
-
- All Implemented Interfaces:
Step
- Direct Known Subclasses:
StepCreator.Comment
,StepCreator.IgnorableStep
,StepCreator.ParametrisedStep
,StepCreator.PendingStep
- Enclosing class:
- StepCreator
public abstract static class StepCreator.ReportingAbstractStep extends StepCreator.AbstractStep
-
-
Constructor Summary
Constructors Constructor Description ReportingAbstractStep(StepCreator.StepExecutionType stepExecutionType, String stepAsString)
-
Method Summary
Modifier and Type Method Description String
asString(Keywords keywords)
protected String
getStepAsString()
protected abstract StepResult
perform(UUIDExceptionWrapper storyFailure)
StepResult
perform(StoryReporter storyReporter, UUIDExceptionWrapper storyFailure)
-
Methods inherited from class org.jbehave.core.steps.StepCreator.AbstractStep
getComposedSteps, toString
-
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.Step
doNotPerform
-
-
-
-
Constructor Detail
-
ReportingAbstractStep
public ReportingAbstractStep(StepCreator.StepExecutionType stepExecutionType, String stepAsString)
-
-
Method Detail
-
perform
public final StepResult perform(StoryReporter storyReporter, UUIDExceptionWrapper storyFailure)
-
perform
protected abstract StepResult perform(UUIDExceptionWrapper storyFailure)
-
asString
public String asString(Keywords keywords)
- Specified by:
asString
in interfaceStep
- Overrides:
asString
in classStepCreator.AbstractStep
-
getStepAsString
protected String getStepAsString()
-
-