public abstract class AbstractServiceConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<EventDispatchAction> |
additionalEventDispatchActions |
protected Clock |
clock |
protected boolean |
enableEventDispatcher |
protected String |
engineName |
protected FlowableEventDispatcher |
eventDispatcher |
protected List<FlowableEventListener> |
eventListeners |
protected HistoryLevel |
historyLevel |
protected IdGenerator |
idGenerator |
protected org.slf4j.Logger |
logger |
static String |
NO_TENANT_ID
The tenant id indicating 'no tenant'
|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected Map<String,List<FlowableEventListener>> |
typedEventListeners |
| Constructor and Description |
|---|
AbstractServiceConfiguration(String engineName) |
protected final org.slf4j.Logger logger
public static final String NO_TENANT_ID
protected String engineName
protected boolean enableEventDispatcher
protected FlowableEventDispatcher eventDispatcher
protected List<FlowableEventListener> eventListeners
protected Map<String,List<FlowableEventListener>> typedEventListeners
protected List<EventDispatchAction> additionalEventDispatchActions
protected HistoryLevel historyLevel
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected Clock clock
protected IdGenerator idGenerator
public AbstractServiceConfiguration(String engineName)
public boolean isHistoryLevelAtLeast(HistoryLevel level)
public boolean isHistoryEnabled()
public String getEngineName()
public void setEngineName(String engineName)
public boolean isEventDispatcherEnabled()
public boolean isEnableEventDispatcher()
public AbstractServiceConfiguration setEnableEventDispatcher(boolean enableEventDispatcher)
public FlowableEventDispatcher getEventDispatcher()
public AbstractServiceConfiguration setEventDispatcher(FlowableEventDispatcher eventDispatcher)
public List<FlowableEventListener> getEventListeners()
public AbstractServiceConfiguration setEventListeners(List<FlowableEventListener> eventListeners)
public Map<String,List<FlowableEventListener>> getTypedEventListeners()
public AbstractServiceConfiguration setTypedEventListeners(Map<String,List<FlowableEventListener>> typedEventListeners)
public List<EventDispatchAction> getAdditionalEventDispatchActions()
public AbstractServiceConfiguration setAdditionalEventDispatchActions(List<EventDispatchAction> additionalEventDispatchActions)
public HistoryLevel getHistoryLevel()
public AbstractServiceConfiguration setHistoryLevel(HistoryLevel historyLevel)
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public AbstractServiceConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Clock getClock()
public AbstractServiceConfiguration setClock(Clock clock)
public IdGenerator getIdGenerator()
public AbstractServiceConfiguration setIdGenerator(IdGenerator idGenerator)
Copyright © 2021 Flowable. All rights reserved.