Package org.cristalise.kernel
Enum Class SystemProperties
- All Implemented Interfaces:
Serializable,Comparable<SystemProperties>,Constable,SystemPropertyOperations
Defines all SystemProperties that are supported in the kernel to configure the behavior of the
application. Due to the limitation of javadoc, the actual usable string cannot be shown easily,
therefore replace underscores with dots to get the actual System Property:
Module_ImportAgent_enableRoleCreation => Module.ImportAgent.enableRoleCreation
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the Agent name associated with the UserCode role.Specifies the password of the Agent associated with the UserCode role.Specifies the permissions, i.e.Specifies the file path to of the StateMachine XML file used in the jar.Override the default mapping for Complete transition of UserCode.Override the default mapping for Error transition of UserCode.Specifies the StateMachine Name required for the UserCode implementation.Specifies the namespace (i.e.Override the default mapping for Start transition of UserCode.Specifies the StateMachine version required for the UserCode implementation.Enables OutcomeValidation during database transaction (aka server-side validation).If true continue Erase even if an error.Defines the paging size used duringBulkErasepredefined step.Defines file extension to be used by theBulkImportpredefined step.Defines root directory used by theBulkImportpredefined step.Defines ifBulkImportpredefined step is based on directory structure or not.Ordered list of implementation of theClusterStorageinterface that Cristal will use for storage of Item local objects.Specifies the Google Guava cache behavior used in ClusterStorageManager.Enable the experimental cache in CreateItemFromDescription predefined step to speed up item creation.Define the java classname that implements theDataHelperinterface.Add or not a new Item Property 'StaeMachineURN' duringCreateItemFromDescription.Add or not a new Item Property 'WorkflowURN' duringCreateItemFromDescription.Enables or disables Dependency collection to contain the same Item many times.If true continue Erase even if an error during deleting BiDirectional references.Replace UUID with Activity name while exportingCompositeActivityDef.Initialise the clustered version of vertx.The name of the Server Item.Define the host for vert.x shall service using telnet.Define the port for vert.x shall service using telnet.Specifies the address name of the vertx event bus.If theServiceExceptionthrown in ItemVerticle includes debug information or not.The number of deployed ItemVerticle instances.The number of seconds before a request to an Item times out.Defines the name of the field in the Outcome containing the name of the Agent.Defines the name of the field in the Outcome containing the password of the Agent.Defines the name of the field in the Outcome containing the password of the Agent.LocalChangeVerticle shall publish instead of send vert.x events the the local addresses.Enforce LocalObjectLoader to use original (but slow) ItemProperty based search in lookup tree instead of subtree based search which is faster.Define the java classname that implements theLookupinterface.ForcesBootstrapto overwrite existing resources imported from the given module (see apiNote of $Namespace).Create Role(s) defined inImportAgenteven if it is not fully specified.ForcesBootstrapto overwrite existing resources imported from all modules.If true generates error if the resource Item is referenced without version number, otherwise use version 0.Enable to use DOM instead of string duringOutcome.validate().Specifies anOutcomeInitiatorimplementation to use to create new empty Outcomes.Use last Outcome instance instead of OutcomeInitiator.Comma separated list of modules namespaces, that use file names with version.Enables to use the deprecated module resource format when exporting theDescriptionObject.Specifies a custom ResourceImportHandler implementation, allowing modules to define their own resource types, or override the import of the core ones.Throws an exception when the RoutingScript does not return of the Script is not a String type.Override the javax.script engine for the given scripting language.Configuration of the shiro.ini file, normally it is in the config directory.Defines the default StateMachine for CompositeActivity.Defines the default StateMachine for ElementaryActivities.Use error handling (error transition) defined in StateMachine.Defines the default StateMachine for PredefinedSteps.Specifies the comma separated list of field names in SystemProperties and Outcomes for which the value should be redacted when printed or stored for security reasons.Host of the machine to connect through vert.x tcp-ip bridge, No default valuePort of the machine to connect through vert.x tcp-ip bridge, Default value is 7000Defines the default role to be used for UserCode.If usingXMLClusterStorage, this defined the root directory of XML file storage No default value. -
Field Summary
Fields inherited from interface org.cristalise.kernel.utils.SystemPropertyOperations
enumLogger -
Method Summary
Modifier and TypeMethodDescriptiontoString()static SystemPropertiesReturns the enum constant of this class with the specified name.static SystemProperties[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface org.cristalise.kernel.utils.SystemPropertyOperations
getActualName, getBoolean, getBoolean, getBoolean, getBoolean, getDefaultValue, getInstance, getInteger, getInteger, getInteger, getInteger, getObject, getObject, getObject, getObject, getString, getString, getString, getString, getSystemPropertyName, set, set
-
Enum Constant Details
-
Activity_validateOutcome
Enables OutcomeValidation during database transaction (aka server-side validation). Default value is 'false', because Outcomes are validated in client code (e.g. during restapi call). Such a validation can be enabled usingBuiltInVertexProperties.VALIDATE_OUTCOMEActivity property as well. -
BulkErase_force
If true continue Erase even if an error. Default value is false - UNIMPLEMENTED -
BulkErase_limit
Defines the paging size used duringBulkErasepredefined step. Defaul is 0, which means there is no limit in deleting Items -
BulkImport_fileExtension
Defines file extension to be used by theBulkImportpredefined step. Default value is empty string -
BulkImport_rootDirectory
Defines root directory used by theBulkImportpredefined step. No default value -
BulkImport_useDirectories
Defines ifBulkImportpredefined step is based on directory structure or not. Default value is 'false' -
ClusterStorage
Ordered list of implementation of theClusterStorageinterface that Cristal will use for storage of Item local objects. Precedence is left to right. If package name is not supplied, org.cristalise.storage is implied. No default value. -
ClusterStorage_cacheSpec
Specifies the Google Guava cache behavior used in ClusterStorageManager. Default is value is 'expireAfterAccess = 600s, recordStats' -
CreateItemFromDescription_Cache_enable
Enable the experimental cache in CreateItemFromDescription predefined step to speed up item creation. Default is false. -
DataHelper_$name
Define the java classname that implements theDataHelperinterface. No default value. -
Dependency_addStateMachineURN
Add or not a new Item Property 'StaeMachineURN' duringCreateItemFromDescription. Default value is false. -
Dependency_addWorkflowURN
Add or not a new Item Property 'WorkflowURN' duringCreateItemFromDescription. Default value is false. -
Dependency_checkMemberUniqueness
Enables or disables Dependency collection to contain the same Item many times. Default value is true. -
Erase_force
If true continue Erase even if an error during deleting BiDirectional references. Default value is false. -
Export_replaceActivitySlotDefUUIDWithName
Replace UUID with Activity name while exportingCompositeActivityDef. Default value is 'false' -
Gateway_clusteredVertx
Initialise the clustered version of vertx. Default value is 'true'. -
ItemServer_name
The name of the Server Item. default is 'localhost', although kernel code overrides that with InetAddress.getLocalHost().getHostName(). -
ItemServer_Telnet_host
Define the host for vert.x shall service using telnet. Default value is 'localhost' -
ItemServer_Telnet_port
Define the port for vert.x shall service using telnet. Default value is 0, used to disable the service. -
ItemVerticle_ebAddress
Specifies the address name of the vertx event bus. Default value is 'cristalise-items' -
ItemVerticle_includeDebugInfo
If theServiceExceptionthrown in ItemVerticle includes debug information or not. Default value is 'true' -
ItemVerticle_instances
The number of deployed ItemVerticle instances. Default value is 8 -
ItemVerticle_requestTimeoutSeconds
The number of seconds before a request to an Item times out. Default value is 10 -
Lifecycle_Sign_agentNameField
Defines the name of the field in the Outcome containing the name of the Agent. It is used in the Sign predefined step. Default is 'AgentName' -
Lifecycle_Sign_passwordField
Defines the name of the field in the Outcome containing the password of the Agent. It is used in the Sign predefined step. Default is 'Password' -
Lifecycle_Sign_signedFlagField
Defines the name of the field in the Outcome containing the password of the Agent. It is used in the Sign predefined step. Default is 'Password' -
LocalChangeVerticle_publishLocalMessage
LocalChangeVerticle shall publish instead of send vert.x events the the local addresses. Default value is 'true'. -
LocalObjectLoader_lookupUseProperties
Enforce LocalObjectLoader to use original (but slow) ItemProperty based search in lookup tree instead of subtree based search which is faster. Default value is 'false'. -
Lookup
Define the java classname that implements theLookupinterface. No default value. -
Module_ImportAgent_enableRoleCreation
Create Role(s) defined inImportAgenteven if it is not fully specified. Default value is false. -
Module_reset
-
Module_$Namespace_reset
-
Module_Versioning_strict
If true generates error if the resource Item is referenced without version number, otherwise use version 0. Default value is false. -
Outcome_Validation_useDOM
Enable to use DOM instead of string duringOutcome.validate(). Default value is 'false'. It was added to investigate strange Apache Xerces xml corruption issue. Default value 'false' is required since the migration to java 17 and the xerces dependency update on pom.xml -
OutcomeInit_$name
Specifies anOutcomeInitiatorimplementation to use to create new empty Outcomes. Will be invoked from Job.getOutcome() for Activities with an 'OutcomeInit' property set to the given name. Default is null. -
OutcomeInit_jobUseViewpoint
Use last Outcome instance instead of OutcomeInitiator. Default value is false. -
Resource_moduleUseFileNameWithVersion
Comma separated list of modules namespaces, that use file names with version. Default value is empty string. -
Resource_useOldImportFormat
Enables to use the deprecated module resource format when exporting theDescriptionObject. Default value is 'false'. -
ResourceImportHandler_$typeCode
Specifies a custom ResourceImportHandler implementation, allowing modules to define their own resource types, or override the import of the core ones. The type code can be any string, but by convention a short upper-case string is used. The core types are EA (Elementary Activity), CA (Composite Activity), OD (Outcome Description - Schema), SC (Script) and SM (State Machine) -
RoutingScript_enforceStringReturnValue
Throws an exception when the RoutingScript does not return of the Script is not a String type. Default value is 'false', which means the Object.toString() value is returned. -
Script_EngineOverride_$lang
Override the javax.script engine for the given scripting language. Used to override Javascript in Java8+ with Rhino -
Shiro_iniFile
Configuration of the shiro.ini file, normally it is in the config directory. No default value. -
StateMachine_Composite_default
Defines the default StateMachine for CompositeActivity. Default value is 'CompositeActivity'. -
StateMachine_Elementary_default
Defines the default StateMachine for ElementaryActivities. Default value is 'Default'. -
StateMachine_enableErrorHandling
Use error handling (error transition) defined in StateMachine. Default value is false. -
StateMachine_Predefined_default
Defines the default StateMachine for PredefinedSteps. Default value is 'PredefinedStep'. -
SystemProperties_keywordsToRedact
Specifies the comma separated list of field names in SystemProperties and Outcomes for which the value should be redacted when printed or stored for security reasons. Default is 'password,pwd'. -
TcpBridge_host
Host of the machine to connect through vert.x tcp-ip bridge, No default value -
TcpBridge_port
Port of the machine to connect through vert.x tcp-ip bridge, Default value is 7000 -
UserCode_roleOverride
Defines the default role to be used for UserCode. It also used as a prefix for every configuration property eg: UserCode.StateMachine.startTransition. Default value is 'UserCode'. -
$UserCodeRole_agent
Specifies the Agent name associated with the UserCode role. No default value. -
$UserCodeRole_password
Specifies the password of the Agent associated with the UserCode role. Default value is 'uc'. -
$UserCodeRole_permissions
Specifies the permissions, i.e. comma separatedWildcardPermissionstrings, of the Agent associated with the UserCode role. Default value is 'uc'. -
$UserCodeRole_StateMachine_startTransition
Override the default mapping for Start transition of UserCode. It is always prefixed like this: eg: UserCode.StateMachine.startTransition -
$UserCodeRole_StateMachine_completeTransition
Override the default mapping for Complete transition of UserCode. It is always prefixed like this: eg: UserCode.StateMachine.completeTransition -
$UserCodeRole_StateMachine_errorTransition
Override the default mapping for Error transition of UserCode. It is always prefixed like this: eg: UserCode.StateMachine.errorTransition -
$UserCodeRole_StateMachine_name
Specifies the StateMachine Name required for the UserCode implementation. Default value is 'Default' because standard implementation is based in the built-in StateMachine. -
$UserCodeRole_StateMachine_version
Specifies the StateMachine version required for the UserCode implementation. Default value is '0'. -
$UserCodeRole_StateMachine_namespace
Specifies the namespace (i.e. the module) from which the StateMachine required for the UserCode implementation can be loaded. No default value. -
$UserCodeRole_StateMachine_bootfile
Specifies the file path to of the StateMachine XML file used in the jar. This will be used to find the StateMachine required for the UserCode implementation can be loaded. No default value. -
XMLStorage_root
If usingXMLClusterStorage, this defined the root directory of XML file storage No default value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<SystemProperties>
-