@Override protected void before() throws Throwable { // establish the launch definitions for the assembly builder for (Triple<Integer, Class<? extends A>, OptionsByType> launchDefinition : launchDefinitions) { // create the options for the application, based on the common options OptionsByType optionsByType = OptionsByType.of(commonOptionsByType).addAll(launchDefinition.getZ()); // include in the assembly builder assemblyBuilder.include(launchDefinition.getX(), launchDefinition.getY(), optionsByType.asArray()); } // build the assembly assembly = assemblyBuilder.build(infrastructure == null ? Infrastructure.local() : infrastructure, creationOptionsByType.asArray()); super.before(); }
@Override protected void before() throws Throwable { // establish the launch definitions for the assembly builder for (Triple<Integer, Class<? extends A>, OptionsByType> launchDefinition : launchDefinitions) { // create the options for the application, based on the common options OptionsByType optionsByType = OptionsByType.of(commonOptionsByType).addAll(launchDefinition.getZ()); // include in the assembly builder assemblyBuilder.include(launchDefinition.getX(), launchDefinition.getY(), optionsByType.asArray()); } // build the assembly assembly = assemblyBuilder.build(infrastructure == null ? Infrastructure.local() : infrastructure, creationOptionsByType.asArray()); super.before(); }