Package org.jbehave.core.embedder
Class PerformableTree.PerformableEntity
- java.lang.Object
-
- org.jbehave.core.embedder.PerformableTree.PerformableEntity
-
- All Implemented Interfaces:
PerformableTree.Performable
,PerformableTree.ReportingFailures
- Direct Known Subclasses:
PerformableTree.AbstractPerformableScenario
,PerformableTree.PerformableStory
- Enclosing class:
- PerformableTree
public abstract static class PerformableTree.PerformableEntity extends Object implements PerformableTree.Performable
-
-
Constructor Summary
Constructors Constructor Description PerformableEntity(org.jbehave.core.embedder.PerformableTree.LifecycleStepsExecutionHook beforeHook, org.jbehave.core.embedder.PerformableTree.LifecycleStepsExecutionHook afterHook)
-
Method Summary
Modifier and Type Method Description void
addAfterSteps(Lifecycle.ExecutionType type, PerformableTree.PerformableSteps afterSteps)
void
addBeforeSteps(Lifecycle.ExecutionType type, PerformableTree.PerformableSteps beforeSteps)
protected PerformableTree.PerformableSteps
getAfterSteps(Lifecycle.ExecutionType type)
protected PerformableTree.PerformableSteps
getBeforeSteps(Lifecycle.ExecutionType type)
PerformableTree.PerformableGivenStories
getGivenStories()
protected void
performAfterSteps(PerformableTree.RunContext context)
protected void
performBeforeSteps(PerformableTree.RunContext context)
protected void
performWithStopExecutionExceptionHandling(org.apache.commons.lang3.function.FailableRunnable<InterruptedException> action, org.apache.commons.lang3.function.FailableRunnable<InterruptedException> afterHook)
void
setGivenStories(PerformableTree.PerformableGivenStories givenStories)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbehave.core.embedder.PerformableTree.Performable
perform
-
Methods inherited from interface org.jbehave.core.embedder.PerformableTree.ReportingFailures
reportFailures
-
-
-
-
Method Detail
-
setGivenStories
public void setGivenStories(PerformableTree.PerformableGivenStories givenStories)
-
addBeforeSteps
public void addBeforeSteps(Lifecycle.ExecutionType type, PerformableTree.PerformableSteps beforeSteps)
-
addAfterSteps
public void addAfterSteps(Lifecycle.ExecutionType type, PerformableTree.PerformableSteps afterSteps)
-
performWithStopExecutionExceptionHandling
protected void performWithStopExecutionExceptionHandling(org.apache.commons.lang3.function.FailableRunnable<InterruptedException> action, org.apache.commons.lang3.function.FailableRunnable<InterruptedException> afterHook) throws InterruptedException
- Throws:
InterruptedException
-
performBeforeSteps
protected void performBeforeSteps(PerformableTree.RunContext context) throws InterruptedException
- Throws:
InterruptedException
-
performAfterSteps
protected void performAfterSteps(PerformableTree.RunContext context) throws InterruptedException
- Throws:
InterruptedException
-
getBeforeSteps
protected PerformableTree.PerformableSteps getBeforeSteps(Lifecycle.ExecutionType type)
-
getAfterSteps
protected PerformableTree.PerformableSteps getAfterSteps(Lifecycle.ExecutionType type)
-
getGivenStories
public PerformableTree.PerformableGivenStories getGivenStories()
-
-