Class WorkflowRuleConfiguration


  • public final class WorkflowRuleConfiguration
    extends AbstractConfiguration<WorkflowRuleConfiguration>
    Configuration returned by an app to indicate it exposes a workflow rule.

    The fields are public and nullable in order to be compatible with JSON-B.

    • Field Detail

      • id

        public String id
        Required short identifier for the workflow rule. Must follow identifier rules ([a-zA-Z_][a-zA-Z0-9_]*).
      • label

        public String label
        Required display label of the workflow rule, such as "Example workflow rule".
      • url

        public String url
        Optional absolute or relative URL to request to execute the workflow rule. If not specified it will be inferred from the app base URL and the workflow rule id. For a workflow rule "example" on app base URL "http://localhost:8081/app-example", the inferred URL would be "http://localhost:8081/app-example/workflow-rule/example". For apps deployed to the same servlet container as the EDG server, it can be useful to specify a relative url such as "/app-example/workflow-rule/example". Then the url is independent of the host and port.
    • Constructor Detail

      • WorkflowRuleConfiguration

        public WorkflowRuleConfiguration()