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.

        Reference to the classifier used by this step. The next[].classificationId values must match classification id values (not type strings) from the referenced classifier's configuration. For example, if the classifier defines { "id": "cls_invoice", "type": "invoice" }, use "cls_invoice" as the classificationId.

        The classifier version is required and must be a pinned version (semver like "0.1" or "draft"). "latest" is not allowed.

        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 referenced classifier's configuration. 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