private void addActivityWithConstraints ( String activity ) { Validate . notNull ( activity ) ; Validate . notEmpty ( activity ) ; Set < String > currentActivities = getActivitiesWithRoutingConstraints ( ) ; currentActivities . add ( activity ) ; setProperty ( ConstraintContextProperty . ACTIVITIES_WITH_CONSTRAINTS , ArrayUtils . toString ( currentActivities . toArray ( ) ) ) ; }
Adds an activity to the list of activities with routing constraints .