Package org.flowable.variable.service
Class VariableServiceConfiguration
java.lang.Object
org.flowable.common.engine.impl.AbstractServiceConfiguration<VariableServiceConfiguration>
org.flowable.variable.service.VariableServiceConfiguration
public class VariableServiceConfiguration
extends AbstractServiceConfiguration<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 VariableInstanceValueModifierprotected VariableServiceprotected VariableTypesFields inherited from class org.flowable.common.engine.impl.AbstractServiceConfiguration
additionalEventDispatchActions, clock, configurators, enableEventDispatcher, engineName, eventDispatcher, eventListeners, idGenerator, logger, NO_TENANT_ID, objectMapper, typedEventListeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected VariableServiceConfigurationvoidinit()voidvoidvoidbooleanbooleansetExpressionManager(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) voidsetVariableInstanceValueModifier(VariableInstanceValueModifier variableInstanceValueModifier) setVariableService(VariableService variableService) setVariableTypes(VariableTypes variableTypes) Methods inherited from class org.flowable.common.engine.impl.AbstractServiceConfiguration
addConfigurator, configuratorsAfterInit, configuratorsBeforeInit, getAdditionalEventDispatchActions, getClock, getConfigurators, getEngineName, getEventDispatcher, getEventListeners, getIdGenerator, getObjectMapper, getTypedEventListeners, initConfigurators, isEnableEventDispatcher, isEventDispatcherEnabled, setAdditionalEventDispatchActions, setClock, setConfigurators, setEnableEventDispatcher, setEngineName, setEventDispatcher, setEventListeners, 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 -
variableInstanceValueModifier
-
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
-
getService
- Specified by:
getServicein classAbstractServiceConfiguration<VariableServiceConfiguration>
-
init
public void init() -
initDataManagers
public void initDataManagers() -
initEntityManagers
public void initEntityManagers() -
initVariableInstanceValueModifier
public void initVariableInstanceValueModifier() -
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) -
getVariableInstanceValueModifier
-
setVariableInstanceValueModifier
public void setVariableInstanceValueModifier(VariableInstanceValueModifier variableInstanceValueModifier)
-