Class SplitStepDefinition


  • public final class SplitStepDefinition
    extends java.lang.Object
    • Method Detail

      • getName

        public java.lang.String getName()
      • getConfig

        public java.util.Optional<SplitStepDefinitionConfig> getConfig()
        Returns:
        Optional on create/update. Required before the workflow can be deployed. Omitted in responses when the step is not yet configured.

        When present, must contain exactly one of splitter (saved processor reference) or splitterConfig (inline configuration) — not both.

        The next[].classificationId values must match split classification id values (not type strings) from the splitter's configuration — the referenced version's config for a saved reference, or the inline splitClassifications array for an inline config. For example, if the splitter defines { "id": "cls_receipt", "type": "receipt" }, use "cls_receipt" as the classificationId.

        See the Split step docs.

      • getNext

        public java.util.Optional<java.util.List<ClassificationNextEntry>> getNext()
        Returns:
        Can only be set when config is present. Each entry must include a classificationId matching a split classification id from the splitter's configuration (saved or inline). Use the classification's stable id (e.g. "cls_receipt"), not the type string.

        See the Split step docs.

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object