@Component public class WorkflowEngineConfiguration extends Object
Also provides default parameters for some of the values.
| Constructor and Description |
|---|
WorkflowEngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterHazelcastName()
This parameter is used as the Hazelcast instance bean name.
|
String |
getClusterMulticastGroup()
This parameter is used for Hazelcasts cluster member auto-detection
and defaults to Hacelcasts multicast group default "224.2.2.3".
|
int |
getClusterMulticastPort()
This parameter is used for Hazelcasts cluster member auto-detection
and defaults to Hacelcasts multicast port default 54327.
|
int |
getClusterMulticastTtl()
This parameter is used for Hazelcasts cluster member auto-detection
and defaults to 0.
|
String |
getClusterName()
This parameter is used as the Hazelcast cluster group name.
|
String |
getConsoleMappingPrefix() |
String |
getEnvironment()
Environment name, will be displayed (when not empty) in web console after application name
|
int |
getHeartbeatInterval()
Must be a value less than workflowengine.heartbeat.maximumPauseSeconds.
Used as interval in seconds to run health check. |
int |
getHeartbeatMaximumPauseSeconds()
Must be a value greater than workflowengine.heartbeat.intervalSeconds.
|
int |
getMaximumNodeAssignmentTimeSeconds()
The maximum time a consumer is granted to update a workflow instance's
node_name field after taking a work unit from the queue.
|
String |
getNodeName()
This parameter is used as name when indicating which cluster node is
currently executing a workflow instance.
|
int |
getNumberOfConsumerThreads()
The number of consumer thread started when the engine starts.
|
String |
getPluginApplicationContextFile()
The Spring application context file for plugins.
|
int |
getProducerIntervalSeconds()
The interval in seconds after which the poller attempts to find new work units.
|
String |
getSchema()
Returns the PostgreSQL schema name + "." for workflow engine tables or an empty string if not configured.
|
void |
init() |
boolean |
isDevelopmentMode()
Determines whether the engine is deployed in development mode (as opposed to production).
|
boolean |
isEmbeddedNavigationMode()
Determines if the header logo and navigation links act as a stand-alone web app (default), or as embedded web screens.
|
@PostConstruct public void init()
public String getSchema()
public String getClusterHazelcastName()
public String getClusterName()
public String getClusterMulticastGroup()
public int getClusterMulticastPort()
public int getClusterMulticastTtl()
public String getNodeName()
public int getHeartbeatInterval()
public int getHeartbeatMaximumPauseSeconds()
public int getMaximumNodeAssignmentTimeSeconds()
public int getProducerIntervalSeconds()
public int getNumberOfConsumerThreads()
public String getPluginApplicationContextFile()
public boolean isDevelopmentMode()
public String getConsoleMappingPrefix()
public String getEnvironment()
public boolean isEmbeddedNavigationMode()
Copyright © 2018. All rights reserved.