Package org.flowable.variable.service
Class VariableServiceConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractServiceConfiguration
org.flowable.variable.service.VariableServiceConfiguration
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected ExpressionManagerprotected HistoricVariableInstanceDataManagerprotected HistoricVariableInstanceEntityManagerprotected HistoricVariableServiceprotected InternalHistoryVariableManagerprotected booleanprotected intprotected booleanThis flag determines whether variables of the type 'serializable' will be tracked.protected VariableInstanceDataManagerprotected VariableInstanceEntityManagerprotected VariableServiceprotected VariableTypesFields inherited from class org.flowable.common.engine.impl.AbstractServiceConfiguration
additionalEventDispatchActions, clock, enableEventDispatcher, engineName, eventDispatcher, eventListeners, historyLevel, idGenerator, logger, NO_TENANT_ID, objectMapper, typedEventListeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidinit()voidvoidbooleanbooleansetExpressionManager(ExpressionManager expressionManager) setHistoricVariableInstanceDataManager(HistoricVariableInstanceDataManager historicVariableInstanceDataManager) setHistoricVariableInstanceEntityManager(HistoricVariableInstanceEntityManager historicVariableInstanceEntityManager) setHistoricVariableService(HistoricVariableService historicVariableService) setInternalHistoryVariableManager(InternalHistoryVariableManager internalHistoryVariableManager) setLoggingSessionEnabled(boolean loggingSessionEnabled) setMaxLengthString(int maxLengthString) voidsetSerializableVariableTypeTrackDeserializedObjects(boolean serializableVariableTypeTrackDeserializedObjects) setVariableInstanceDataManager(VariableInstanceDataManager variableInstanceDataManager) setVariableInstanceEntityManager(VariableInstanceEntityManager variableInstanceEntityManager) setVariableService(VariableService variableService) setVariableTypes(VariableTypes variableTypes) Methods inherited from class org.flowable.common.engine.impl.AbstractServiceConfiguration
getAdditionalEventDispatchActions, getClock, getEngineName, getEventDispatcher, getEventListeners, getHistoryLevel, getIdGenerator, getObjectMapper, getTypedEventListeners, isEnableEventDispatcher, isEventDispatcherEnabled, isHistoryEnabled, isHistoryLevelAtLeast, setAdditionalEventDispatchActions, setClock, setEnableEventDispatcher, setEngineName, setEventDispatcher, setEventListeners, setHistoryLevel, setIdGenerator, setObjectMapper, setTypedEventListeners
-
Field Details
-
DEFAULT_GENERIC_MAX_LENGTH_STRING
public static final int DEFAULT_GENERIC_MAX_LENGTH_STRING- See Also:
-
DEFAULT_ORACLE_MAX_LENGTH_STRING
public static final int DEFAULT_ORACLE_MAX_LENGTH_STRING- See Also:
-
variableService
-
historicVariableService
-
variableInstanceDataManager
-
historicVariableInstanceDataManager
-
variableInstanceEntityManager
-
historicVariableInstanceEntityManager
-
variableTypes
-
internalHistoryVariableManager
-
expressionManager
-
maxLengthString
protected int maxLengthString -
loggingSessionEnabled
protected boolean loggingSessionEnabled -
serializableVariableTypeTrackDeserializedObjects
protected boolean serializableVariableTypeTrackDeserializedObjectsThis flag determines whether variables of the type 'serializable' will be tracked. This means that, when true, in a JavaDelegate you can write MySerializableVariable myVariable = (MySerializableVariable) execution.getVariable("myVariable"); myVariable.setNumber(123); And the changes to the java object will be reflected in the database. Otherwise, a manual call to setVariable will be needed. By default true for backwards compatibility.
-
-
Constructor Details
-
VariableServiceConfiguration
-
-
Method Details
-
init
public void init() -
initDataManagers
public void initDataManagers() -
initEntityManagers
public void initEntityManagers() -
getVariableServiceConfiguration
-
getVariableService
-
setVariableService
-
getHistoricVariableService
-
setHistoricVariableService
public VariableServiceConfiguration setHistoricVariableService(HistoricVariableService historicVariableService) -
getVariableInstanceDataManager
-
setVariableInstanceDataManager
public VariableServiceConfiguration setVariableInstanceDataManager(VariableInstanceDataManager variableInstanceDataManager) -
getHistoricVariableInstanceDataManager
-
setHistoricVariableInstanceDataManager
public VariableServiceConfiguration setHistoricVariableInstanceDataManager(HistoricVariableInstanceDataManager historicVariableInstanceDataManager) -
getVariableInstanceEntityManager
-
setVariableInstanceEntityManager
public VariableServiceConfiguration setVariableInstanceEntityManager(VariableInstanceEntityManager variableInstanceEntityManager) -
getHistoricVariableInstanceEntityManager
-
setHistoricVariableInstanceEntityManager
public VariableServiceConfiguration setHistoricVariableInstanceEntityManager(HistoricVariableInstanceEntityManager historicVariableInstanceEntityManager) -
getVariableTypes
-
setVariableTypes
-
getInternalHistoryVariableManager
-
setInternalHistoryVariableManager
public VariableServiceConfiguration setInternalHistoryVariableManager(InternalHistoryVariableManager internalHistoryVariableManager) -
getExpressionManager
-
setExpressionManager
-
getMaxLengthString
public int getMaxLengthString() -
setMaxLengthString
-
isLoggingSessionEnabled
public boolean isLoggingSessionEnabled() -
setLoggingSessionEnabled
-
isSerializableVariableTypeTrackDeserializedObjects
public boolean isSerializableVariableTypeTrackDeserializedObjects() -
setSerializableVariableTypeTrackDeserializedObjects
public void setSerializableVariableTypeTrackDeserializedObjects(boolean serializableVariableTypeTrackDeserializedObjects)
-