public EntityBuilder addActions ( List < Action > actions ) { if ( actions == null ) { throw new IllegalArgumentException ( "actions cannot be null." ) ; } for ( Action action : actions ) { addAction ( action ) ; } return this ; }
Add a list of actions to the entity to be built . Actions are options according to the Siren specification .