Package org.flowable.common.engine.impl
Class AbstractServiceConfiguration
- java.lang.Object
-
- org.flowable.common.engine.impl.AbstractServiceConfiguration
-
public abstract class AbstractServiceConfiguration extends Object
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected List<EventDispatchAction>additionalEventDispatchActionsprotected Clockclockprotected booleanenableEventDispatcherprotected StringengineNameprotected FlowableEventDispatchereventDispatcherprotected List<FlowableEventListener>eventListenersprotected HistoryLevelhistoryLevelprotected IdGeneratoridGeneratorprotected org.slf4j.Loggerloggerstatic StringNO_TENANT_IDThe tenant id indicating 'no tenant'protected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected Map<String,List<FlowableEventListener>>typedEventListeners
-
Constructor Summary
Constructors Constructor Description AbstractServiceConfiguration(String engineName)
-
Method Summary
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
NO_TENANT_ID
public static final String NO_TENANT_ID
The tenant id indicating 'no tenant'- See Also:
- Constant Field Values
-
engineName
protected String engineName
-
enableEventDispatcher
protected boolean enableEventDispatcher
-
eventDispatcher
protected FlowableEventDispatcher eventDispatcher
-
eventListeners
protected List<FlowableEventListener> eventListeners
-
typedEventListeners
protected Map<String,List<FlowableEventListener>> typedEventListeners
-
additionalEventDispatchActions
protected List<EventDispatchAction> additionalEventDispatchActions
-
historyLevel
protected HistoryLevel historyLevel
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
clock
protected Clock clock
-
idGenerator
protected IdGenerator idGenerator
-
-
Constructor Detail
-
AbstractServiceConfiguration
public AbstractServiceConfiguration(String engineName)
-
-
Method Detail
-
isHistoryLevelAtLeast
public boolean isHistoryLevelAtLeast(HistoryLevel level)
-
isHistoryEnabled
public boolean isHistoryEnabled()
-
getEngineName
public String getEngineName()
-
setEngineName
public void setEngineName(String engineName)
-
isEventDispatcherEnabled
public boolean isEventDispatcherEnabled()
-
isEnableEventDispatcher
public boolean isEnableEventDispatcher()
-
setEnableEventDispatcher
public AbstractServiceConfiguration setEnableEventDispatcher(boolean enableEventDispatcher)
-
getEventDispatcher
public FlowableEventDispatcher getEventDispatcher()
-
setEventDispatcher
public AbstractServiceConfiguration setEventDispatcher(FlowableEventDispatcher eventDispatcher)
-
getEventListeners
public List<FlowableEventListener> getEventListeners()
-
setEventListeners
public AbstractServiceConfiguration setEventListeners(List<FlowableEventListener> eventListeners)
-
getTypedEventListeners
public Map<String,List<FlowableEventListener>> getTypedEventListeners()
-
setTypedEventListeners
public AbstractServiceConfiguration setTypedEventListeners(Map<String,List<FlowableEventListener>> typedEventListeners)
-
getAdditionalEventDispatchActions
public List<EventDispatchAction> getAdditionalEventDispatchActions()
-
setAdditionalEventDispatchActions
public AbstractServiceConfiguration setAdditionalEventDispatchActions(List<EventDispatchAction> additionalEventDispatchActions)
-
getHistoryLevel
public HistoryLevel getHistoryLevel()
-
setHistoryLevel
public AbstractServiceConfiguration setHistoryLevel(HistoryLevel historyLevel)
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-
setObjectMapper
public AbstractServiceConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
getClock
public Clock getClock()
-
setClock
public AbstractServiceConfiguration setClock(Clock clock)
-
getIdGenerator
public IdGenerator getIdGenerator()
-
setIdGenerator
public AbstractServiceConfiguration setIdGenerator(IdGenerator idGenerator)
-
-