public abstract class AbstractServiceConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<EventDispatchAction> |
additionalEventDispatchActions |
protected Clock |
clock |
protected boolean |
enableEventDispatcher |
protected FlowableEventDispatcher |
eventDispatcher |
protected List<FlowableEventListener> |
eventListeners |
protected HistoryLevel |
historyLevel |
protected static 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() |
protected static final org.slf4j.Logger LOGGER
public static final String NO_TENANT_ID
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
public boolean isHistoryLevelAtLeast(HistoryLevel level)
public boolean isHistoryEnabled()
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)
Copyright © 2017 Flowable. All rights reserved.