Class ManagedProcessEngineMetadata
- java.lang.Object
-
- org.camunda.bpm.container.impl.jboss.config.ManagedProcessEngineMetadata
-
public class ManagedProcessEngineMetadata extends java.lang.Object
- Author:
- Daniel Meyer, Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
configuration
static java.lang.String
PROP_DB_TABLE_PREFIX
the prefix to be used for all process engine database tablesstatic java.lang.String
PROP_IS_ACTIVATE_JOB_EXECUTOR
indicates whether the job executor should be automatically activatedstatic java.lang.String
PROP_IS_AUTO_SCHEMA_UPDATE
indicates whether the process engine should automatically create / update the database schema upon startupstatic java.lang.String
PROP_IS_IDENTITY_USED
indicates whether the identity module is used and if this tables are requiredstatic java.lang.String
PROP_JOB_EXECUTOR_ACQUISITION_NAME
the name of the platform job executor acquisition to use
-
Constructor Summary
Constructors Constructor Description ManagedProcessEngineMetadata(boolean isDefault, java.lang.String engineName, java.lang.String datasourceJndiName, java.lang.String historyLevel, java.lang.String configuration, java.util.Map<java.lang.String,java.lang.String> properties, java.util.List<ProcessEnginePluginXml> pluginConfigurations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConfiguration()
java.util.Map<java.lang.String,java.lang.String>
getConfigurationProperties()
java.lang.String
getDatasourceJndiName()
java.lang.String
getDbTablePrefix()
java.lang.String
getEngineName()
java.util.Map<java.lang.String,java.lang.String>
getFoxLegacyProperties()
java.lang.String
getHistoryLevel()
java.lang.String
getJobExecutorAcquisitionName()
java.util.List<ProcessEnginePluginXml>
getPluginConfigurations()
boolean
isActivateJobExecutor()
boolean
isAutoSchemaUpdate()
boolean
isDefault()
boolean
isIdentityUsed()
void
setConfiguration(java.lang.String configuration)
void
setConfigurationProperties(java.util.Map<java.lang.String,java.lang.String> properties)
void
setDatasourceJndiName(java.lang.String datasourceJndiName)
void
setDefault(boolean isDefault)
void
setEngineName(java.lang.String engineName)
void
setFoxLegacyProperties(java.util.Map<java.lang.String,java.lang.String> foxLegacyProperties)
void
setHistoryLevel(java.lang.String historyLevel)
void
setPluginConfigurations(java.util.List<ProcessEnginePluginXml> pluginConfigurations)
void
validate()
validates the configuration and throwsProcessEngineException
if the configuration is invalid.
-
-
-
Field Detail
-
PROP_IS_AUTO_SCHEMA_UPDATE
public static java.lang.String PROP_IS_AUTO_SCHEMA_UPDATE
indicates whether the process engine should automatically create / update the database schema upon startup
-
PROP_IS_IDENTITY_USED
public static java.lang.String PROP_IS_IDENTITY_USED
indicates whether the identity module is used and if this tables are required
-
PROP_IS_ACTIVATE_JOB_EXECUTOR
public static java.lang.String PROP_IS_ACTIVATE_JOB_EXECUTOR
indicates whether the job executor should be automatically activated
-
PROP_DB_TABLE_PREFIX
public static java.lang.String PROP_DB_TABLE_PREFIX
the prefix to be used for all process engine database tables
-
PROP_JOB_EXECUTOR_ACQUISITION_NAME
public static java.lang.String PROP_JOB_EXECUTOR_ACQUISITION_NAME
the name of the platform job executor acquisition to use
-
configuration
protected java.lang.String configuration
-
-
Constructor Detail
-
ManagedProcessEngineMetadata
public ManagedProcessEngineMetadata(boolean isDefault, java.lang.String engineName, java.lang.String datasourceJndiName, java.lang.String historyLevel, java.lang.String configuration, java.util.Map<java.lang.String,java.lang.String> properties, java.util.List<ProcessEnginePluginXml> pluginConfigurations)
- Parameters:
isDefault
-engineName
-datasourceJndiName
-historyLevel
-configuration
-properties
-pluginConfigurations
-
-
-
Method Detail
-
isDefault
public boolean isDefault()
-
setDefault
public void setDefault(boolean isDefault)
-
getEngineName
public java.lang.String getEngineName()
-
setEngineName
public void setEngineName(java.lang.String engineName)
-
getDatasourceJndiName
public java.lang.String getDatasourceJndiName()
-
setDatasourceJndiName
public void setDatasourceJndiName(java.lang.String datasourceJndiName)
-
getHistoryLevel
public java.lang.String getHistoryLevel()
-
setHistoryLevel
public void setHistoryLevel(java.lang.String historyLevel)
-
getConfiguration
public java.lang.String getConfiguration()
-
setConfiguration
public void setConfiguration(java.lang.String configuration)
-
getConfigurationProperties
public java.util.Map<java.lang.String,java.lang.String> getConfigurationProperties()
-
setConfigurationProperties
public void setConfigurationProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
getFoxLegacyProperties
public java.util.Map<java.lang.String,java.lang.String> getFoxLegacyProperties()
-
setFoxLegacyProperties
public void setFoxLegacyProperties(java.util.Map<java.lang.String,java.lang.String> foxLegacyProperties)
-
getPluginConfigurations
public java.util.List<ProcessEnginePluginXml> getPluginConfigurations()
-
setPluginConfigurations
public void setPluginConfigurations(java.util.List<ProcessEnginePluginXml> pluginConfigurations)
-
isIdentityUsed
public boolean isIdentityUsed()
-
isAutoSchemaUpdate
public boolean isAutoSchemaUpdate()
-
isActivateJobExecutor
public boolean isActivateJobExecutor()
-
getDbTablePrefix
public java.lang.String getDbTablePrefix()
-
getJobExecutorAcquisitionName
public java.lang.String getJobExecutorAcquisitionName()
-
validate
public void validate()
validates the configuration and throwsProcessEngineException
if the configuration is invalid.
-
-