Package io.cucumber.core.runner
Class CoreHookDefinition.ScenarioScopedCoreHookDefinition
java.lang.Object
io.cucumber.core.runner.CoreHookDefinition
io.cucumber.core.runner.CoreHookDefinition.ScenarioScopedCoreHookDefinition
- All Implemented Interfaces:
ScenarioScoped
- Enclosing class:
CoreHookDefinition
static final class CoreHookDefinition.ScenarioScopedCoreHookDefinition
extends CoreHookDefinition
implements ScenarioScoped
-
Nested Class Summary
Nested classes/interfaces inherited from class io.cucumber.core.runner.CoreHookDefinition
CoreHookDefinition.ScenarioScopedCoreHookDefinition -
Field Summary
Fields inherited from class io.cucumber.core.runner.CoreHookDefinition
delegate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateScenarioScopedCoreHookDefinition(UUID id, HookDefinition delegate) -
Method Summary
Methods inherited from class io.cucumber.core.runner.CoreHookDefinition
create, execute, getDefinitionLocation, getDelegate, getHookType, getId, getLocation, getName, getOrder, getTagExpression, matches
-
Constructor Details
-
ScenarioScopedCoreHookDefinition
-
-
Method Details
-
dispose
public void dispose()Description copied from interface:ScenarioScopedDisposes of the test execution context.Scenario scoped step definition may be used in events. Thus retaining a potential reference to the test execution context. When many tests are used this may result in an over consumption of memory. Disposing of the execution context resolves this problem.
- Specified by:
disposein interfaceScenarioScoped
-