public Set < AbstractConstraint < ? > > getRoutingConstraints ( String activity ) throws PropertyException { Set < String > constraintNames = getConstraintNames ( activity ) ; Set < AbstractConstraint < ? > > result = new HashSet <> ( ) ; for ( String constraintName : constraintNames ) { result . add ( getConstraint ( constraintName ) ) ; } return result ; }
Returns all routing constraints of the given activity in form of constraint - objects .