Class ClassifyStepDefinition


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

      • getName

        public java.lang.String getName()
      • getConfig

        public java.util.Optional<ClassifyStepDefinitionConfig> 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 classifier (saved processor reference) or classifierConfig (inline configuration) — not both.

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

        See the Classify 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 classification id from the classifier's configuration (saved or inline). Use the classification's stable id (e.g. "cls_invoice"), not the type string.

        See the Classify 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