public class AutomationFeature extends SimpleFeature
PlatformFeature
, AutomationFeature is a simple feature that includes
org.nuxeo.ecm.automation.core and org.nuxeo.ecm.automation.features bundles.Modifier and Type | Class and Description |
---|---|
class |
AutomationFeature.OperationContextProvider |
Modifier and Type | Field and Description |
---|---|
protected OperationContext |
context |
protected AutomationFeature.OperationContextProvider |
contextProvider |
protected CoreFeature |
coreFeature |
protected OperationCallback |
tracer |
protected TracerFactory |
tracerFactory |
protected org.nuxeo.ecm.automation.test.AutomationFeature.TracerProvider |
tracerProvider |
Constructor and Description |
---|
AutomationFeature() |
Modifier and Type | Method and Description |
---|---|
void |
afterTeardown(FeaturesRunner runner)
After the call of the @After methods
|
void |
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods
|
void |
configure(FeaturesRunner runner,
com.google.inject.Binder binder)
Configures Guice bindings if any is required by the feature.
|
protected OperationContext |
getContext() |
protected OperationCallback |
getTracer() |
afterMethodRun, afterRun, beforeMethodRun, beforeRun, initialize, start, stop, testCreated
protected final AutomationFeature.OperationContextProvider contextProvider
protected final org.nuxeo.ecm.automation.test.AutomationFeature.TracerProvider tracerProvider
protected OperationContext context
protected TracerFactory tracerFactory
protected OperationCallback tracer
protected CoreFeature coreFeature
public AutomationFeature()
protected OperationContext getContext()
protected OperationCallback getTracer()
public void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeature
configure
in interface RunnerFeature
configure
in class SimpleFeature
public void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeature
beforeSetup
in interface RunnerFeature
beforeSetup
in class SimpleFeature
Exception
public void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeature
afterTeardown
in interface RunnerFeature
afterTeardown
in class SimpleFeature
Exception
Copyright © 2017 Nuxeo. All rights reserved.