Class ManagedProcessEngineMetadata


  • public class ManagedProcessEngineMetadata
    extends Object
    Author:
    Daniel Meyer, Thorben Lindhauer
    • Field Detail

      • PROP_IS_AUTO_SCHEMA_UPDATE

        public static 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 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 String PROP_IS_ACTIVATE_JOB_EXECUTOR
        indicates whether the job executor should be automatically activated
      • PROP_DB_TABLE_PREFIX

        public static String PROP_DB_TABLE_PREFIX
        the prefix to be used for all process engine database tables
      • PROP_JOB_EXECUTOR_ACQUISITION_NAME

        public static String PROP_JOB_EXECUTOR_ACQUISITION_NAME
        the name of the platform job executor acquisition to use
      • configuration

        protected String configuration
    • Constructor Detail

      • ManagedProcessEngineMetadata

        public ManagedProcessEngineMetadata​(boolean isDefault,
                                            String engineName,
                                            String datasourceJndiName,
                                            String historyLevel,
                                            String configuration,
                                            Map<String,​String> properties,
                                            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 String getEngineName()
      • setEngineName

        public void setEngineName​(String engineName)
      • getDatasourceJndiName

        public String getDatasourceJndiName()
      • setDatasourceJndiName

        public void setDatasourceJndiName​(String datasourceJndiName)
      • getHistoryLevel

        public String getHistoryLevel()
      • setHistoryLevel

        public void setHistoryLevel​(String historyLevel)
      • getConfiguration

        public String getConfiguration()
      • setConfiguration

        public void setConfiguration​(String configuration)
      • getConfigurationProperties

        public Map<String,​String> getConfigurationProperties()
      • setConfigurationProperties

        public void setConfigurationProperties​(Map<String,​String> properties)
      • getFoxLegacyProperties

        public Map<String,​String> getFoxLegacyProperties()
      • setFoxLegacyProperties

        public void setFoxLegacyProperties​(Map<String,​String> foxLegacyProperties)
      • isIdentityUsed

        public boolean isIdentityUsed()
      • isAutoSchemaUpdate

        public boolean isAutoSchemaUpdate()
      • isActivateJobExecutor

        public boolean isActivateJobExecutor()
      • getDbTablePrefix

        public String getDbTablePrefix()
      • getJobExecutorAcquisitionName

        public String getJobExecutorAcquisitionName()
      • validate

        public void validate()
        validates the configuration and throws ProcessEngineException if the configuration is invalid.