Interface DomainAssignmentRule

All Superinterfaces:
Entity, Serializable

public interface DomainAssignmentRule extends Entity
An assignment rule for workflow definitions which apply to domains. Is used to limit the scope of domains to which given workflow definition applies to.
  • Method Details

    • getDomainType

      NamedResourceReference getDomainType()
      Returns the domain type that this workflow definition applies to.
      Returns:
      the domain type
    • getCommunity

      NamedResourceReference getCommunity()
      (Optional) Returns the community this workflow definition applies to.
      Returns:
      the community
    • isExactResourceTypeMatch

      boolean isExactResourceTypeMatch()
      Returns whether this rule requires an exact domain type match. When true, the workflow can only be started if the domain type of the target domain matches exactly the domain type defined in this rule. Child domain types are excluded. When false, the workflow can also be started for domains whose type is a child of the defined domain type.
      Returns:
      true if only an exact domain type match satisfies this rule