/** * Configure features to use at current {@link #defaultStage stage}. Each feature may be specified as * <code>name</code> or <code>name/version</code> (no version ranges allowed). * @param features * @return */ public Builder features(String... features) { return features(defaultStage, features); }
/** * Configure features to use at current {@link #defaultStage stage}. Each feature may be specified as * <code>name</code> or <code>name/version</code> (no version ranges allowed). * @param features * @return */ public Builder features(String... features) { return features(defaultStage, features); }
builder.features(Builder.Stage.Startup, framework);
builder.features(Builder.Stage.Startup, framework);
.kars(toArray(startupKars)) .repositories(startupFeatures.isEmpty() && startupProfiles.isEmpty() && installAllFeaturesByDefault, toArray(startupRepositories)) .features(toArray(startupFeatures)) .bundles(toArray(startupBundles)) .profiles(toArray(startupProfiles)); .kars(toArray(bootKars)) .repositories(bootFeatures.isEmpty() && bootProfiles.isEmpty() && installAllFeaturesByDefault, toArray(bootRepositories)) .features(toArray(bootFeatures)) .bundles(toArray(bootBundles)) .profiles(toArray(bootProfiles)); .kars(toArray(installedKars)) .repositories(installedFeatures.isEmpty() && installedProfiles.isEmpty() && installAllFeaturesByDefault, toArray(installedRepositories)) .features(toArray(installedFeatures)) .bundles(toArray(installedBundles)) .profiles(toArray(installedProfiles));
.kars(toArray(startupKars)) .repositories(startupFeatures.isEmpty() && startupProfiles.isEmpty() && installAllFeaturesByDefault, toArray(startupRepositories)) .features(toArray(startupFeatures)) .bundles(toArray(startupBundles)) .profiles(toArray(startupProfiles)); .kars(toArray(bootKars)) .repositories(bootFeatures.isEmpty() && bootProfiles.isEmpty() && installAllFeaturesByDefault, toArray(bootRepositories)) .features(toArray(bootFeatures)) .bundles(toArray(bootBundles)) .profiles(toArray(bootProfiles)); .kars(toArray(installedKars)) .repositories(installedFeatures.isEmpty() && installedProfiles.isEmpty() && installAllFeaturesByDefault, toArray(installedRepositories)) .features(toArray(installedFeatures)) .bundles(toArray(installedBundles)) .profiles(toArray(installedProfiles));