Class ConfigurationStartup

java.lang.Object
org.camunda.automator.configuration.ConfigurationStartup

@Component @PropertySource("classpath:application.yaml") @Configuration public class ConfigurationStartup extends Object
  • Field Details

    • scenarioPath

      @Value("${automator.startup.scenarioPath}") public String scenarioPath
    • logLevel

      @Value("${automator.startup.logLevel:MONITORING}") public String logLevel
    • deepTracking

      @Value("${automator.startup.deeptracking:false}") public boolean deepTracking
    • policyExecution

      @Value("${automator.startup.policyExecution:DEPLOYPROCESS|WARMINGUP|CREATION|SERVICETASK|USERTASK}") public String policyExecution
    • waitWarmupServer

      @Value("${automator.startup.waitWarmUpServer:PT0S}") public String waitWarmupServer
      it may be necessary to wait the other component to warm up
  • Constructor Details

    • ConfigurationStartup

      public ConfigurationStartup()
  • Method Details

    • setLogLevel

      public void setLogLevel(String logLevel)
    • getLogLevelEnum

      public RunParameters.LOGLEVEL getLogLevelEnum()
    • deepTracking

      public boolean deepTracking()
    • isPolicyExecutionCreation

      public boolean isPolicyExecutionCreation()
    • isPolicyExecutionServiceTask

      public boolean isPolicyExecutionServiceTask()
    • isPolicyExecutionUserTask

      public boolean isPolicyExecutionUserTask()
    • isPolicyExecutionWarmingUp

      public boolean isPolicyExecutionWarmingUp()
    • isPolicyDeployProcess

      public boolean isPolicyDeployProcess()
    • getScenarioFileAtStartup

      public List<String> getScenarioFileAtStartup()
    • getScenarioFileAtStartupName

      public String getScenarioFileAtStartupName()
      Return the name for the variable scenarioAtStartup
      Returns:
      the name
    • getScenarioResourceAtStartup

      public List<org.springframework.core.io.Resource> getScenarioResourceAtStartup()
      Return the list of collection - only one at this moment
      Returns:
      list of scenario detected as a resource
    • getScenarioResourceAtStartupName

      public String getScenarioResourceAtStartupName()
      return the name of the resourceAtStartup variable name
      Returns:
      name of the variable
    • getFilterService

      public List<String> getFilterService()
    • getWarmingUpServer

      public Duration getWarmingUpServer()