public class MockControllerServiceInitializationContext extends MockControllerServiceLookup implements ControllerServiceInitializationContext, ControllerServiceLookup
Modifier and Type | Field and Description |
---|---|
private String |
identifier |
private ComponentLog |
logger |
private StateManager |
stateManager |
Constructor and Description |
---|
MockControllerServiceInitializationContext(ControllerService controllerService,
String identifier) |
MockControllerServiceInitializationContext(ControllerService controllerService,
String identifier,
ComponentLog logger,
StateManager stateManager) |
MockControllerServiceInitializationContext(ControllerService controllerService,
String identifier,
StateManager stateManager) |
Modifier and Type | Method and Description |
---|---|
ControllerServiceLookup |
getControllerServiceLookup() |
String |
getControllerServiceName(String serviceIdentifier) |
String |
getIdentifier() |
ComponentLog |
getLogger() |
StateManager |
getStateManager() |
addControllerService, addControllerService, addControllerServices, getConfiguration, getControllerService, getControllerServiceIdentifiers, isControllerServiceEnabled, isControllerServiceEnabled, isControllerServiceEnabling, removeControllerService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControllerService, getControllerServiceIdentifiers, isControllerServiceEnabled, isControllerServiceEnabled, isControllerServiceEnabling
private final String identifier
private final ComponentLog logger
private final StateManager stateManager
public MockControllerServiceInitializationContext(ControllerService controllerService, String identifier)
public MockControllerServiceInitializationContext(ControllerService controllerService, String identifier, StateManager stateManager)
public MockControllerServiceInitializationContext(ControllerService controllerService, String identifier, ComponentLog logger, StateManager stateManager)
public String getIdentifier()
getIdentifier
in interface ControllerServiceInitializationContext
public String getControllerServiceName(String serviceIdentifier)
getControllerServiceName
in interface ControllerServiceLookup
getControllerServiceName
in class MockControllerServiceLookup
public ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup
in interface ControllerServiceInitializationContext
public ComponentLog getLogger()
getLogger
in interface ControllerServiceInitializationContext
public StateManager getStateManager()
getStateManager
in interface ControllerServiceInitializationContext
Copyright © 2016 Apache NiFi Project. All rights reserved.