Class Workflow

    • Constructor Detail

      • Workflow

        public Workflow​(List<WorkflowRule> workflowRules,
                        WorkflowRuleTarget defaultTarget)
        Define a workflow.
        Parameters:
        workflowRules - list of workflow rules (in order they will be processed)
        defaultTarget - default filter
    • Method Detail

      • fromJson

        public static Workflow fromJson​(String json)
                                 throws IOException
        Converts a JSON workflow configuration to a workflow object.
        Parameters:
        json - JSON for workflow
        Returns:
        a workflow rule target object
        Throws:
        IOException - if unable to create object