Class ConfigurationBpmEngine
java.lang.Object
org.camunda.automator.configuration.ConfigurationBpmEngine
@Component
@Configuration
@ConfigurationProperties(prefix="automator")
@PropertySource("classpath:application.yaml")
@EnableConfigurationProperties
public class ConfigurationBpmEngine
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExplicitServer(ConfigurationBpmEngine.BpmnServerDefinition bpmnEngineConfiguration) Add an explicit server, by the APIgetByServerName(String serverName) get a server by its namegetByServerType(ConfigurationBpmEngine.CamundaEngine serverType) get a server by its typevoidinit()
-
Field Details
-
logDebug
@Value("${logDebug:false}") public boolean logDebug -
serversConnection
-
serversList
-
-
Constructor Details
-
ConfigurationBpmEngine
public ConfigurationBpmEngine()
-
-
Method Details
-
init
@PostConstruct public void init() -
addExplicitServer
Add an explicit server, by the API- Parameters:
bpmnEngineConfiguration- server to add in the list
-
getListServers
-
getByServerName
public ConfigurationBpmEngine.BpmnServerDefinition getByServerName(String serverName) throws AutomatorException get a server by its name- Parameters:
serverName- serverName- Returns:
- the server, or null
- Throws:
AutomatorException- on any error
-
getByServerType
public ConfigurationBpmEngine.BpmnServerDefinition getByServerType(ConfigurationBpmEngine.CamundaEngine serverType) throws AutomatorException get a server by its type- Parameters:
serverType- type of server CAMUNDA 8 ? 7 ?- Returns:
- a server
- Throws:
AutomatorException- on any error
-