/** * Sets the runtime environments the composite is activated in. * * @param environments the runtime environments * @return the builder */ public CompositeBuilder environment(List<String> environments) { checkState(); composite.setEnvironments(environments); return this; }