Package org.jbpm.workflow.core.node

## Interface Constrainable

- All Known Implementing Classes:
    `ConstraintTrigger`, `MilestoneNode`, `Split`, `StateNode`

      public interface Constrainable

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addConstraint​(ConnectionRef connection, Constraint constraint)` | Adds the given constraint.

- - ### Method Detail

    - #### addConstraint

          void addConstraint​(ConnectionRef connection,
                             Constraint constraint)

      Adds the given constraint. In cases where the constraint is associated with a specific connection, this connection will be identified using a ConnectionRef. In other cases the ConnectionRef will be null and can be ignored.
      Parameters:
        `connection` -
        `constraint` -