Package com.collibra.dgc.core.api.model.workflow

# 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 Summary

  Modifier and Type
  Method
  Description
  `NamedResourceReference`
  `getCommunity()`
  (Optional) Returns the community this workflow definition applies to.
  `NamedResourceReference`
  `getDomainType()`
  Returns the domain type that this workflow definition applies to.
  `boolean`
  `isExactResourceTypeMatch()`
  Returns whether this rule requires an exact domain type match.

  ### Methods inherited from interface Entity

  `getId, setId`

- ## 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