@ProviderType public interface FeatureBuilder
Feature
Models.Modifier and Type | Method and Description |
---|---|
FeatureBuilder |
addBundles(FeatureBundle... bundles)
Add Bundles to the Feature.
|
FeatureBuilder |
addCategories(String... categories)
Adds one or more categories to the Feature.
|
FeatureBuilder |
addConfigurations(FeatureConfiguration... configs)
Add Configurations to the Feature.
|
FeatureBuilder |
addExtensions(FeatureExtension... extensions)
Add Extensions to the Feature
|
FeatureBuilder |
addVariable(String key,
Object defaultValue)
Add a variable to the Feature.
|
FeatureBuilder |
addVariables(Map<String,Object> variables)
Add a map of variables to the Feature.
|
Feature |
build()
Build the Feature.
|
FeatureBuilder |
setComplete(boolean complete)
Set the Feature Complete flag.
|
FeatureBuilder |
setDescription(String description)
Set the Feature Description.
|
FeatureBuilder |
setDocURL(String docURL)
Set the documentation URL.
|
FeatureBuilder |
setLicense(String license)
Set the License.
|
FeatureBuilder |
setName(String name)
Set the Feature Name.
|
FeatureBuilder |
setSCM(String scm)
Set the SCM information.
|
FeatureBuilder |
setVendor(String vendor)
Set the Vendor.
|
FeatureBuilder setComplete(boolean complete)
false
.complete
- If the feature is complete.FeatureBuilder setDescription(String description)
description
- The description.FeatureBuilder setDocURL(String docURL)
docURL
- The Documentation URL.FeatureBuilder setName(String name)
name
- The Name.FeatureBuilder setLicense(String license)
license
- The License.FeatureBuilder setSCM(String scm)
scm
- The SCM information.FeatureBuilder setVendor(String vendor)
vendor
- The Vendor.FeatureBuilder addBundles(FeatureBundle... bundles)
bundles
- The Bundles to add.FeatureBuilder addCategories(String... categories)
categories
- The Categories.FeatureBuilder addConfigurations(FeatureConfiguration... configs)
configs
- The Configurations to add.FeatureBuilder addExtensions(FeatureExtension... extensions)
extensions
- The Extensions to add.FeatureBuilder addVariable(String key, Object defaultValue)
key
- The key.defaultValue
- The default value.IllegalArgumentException
- if the value is of an invalid type.FeatureBuilder addVariables(Map<String,Object> variables)
variables
- to be added.IllegalArgumentException
- if a value is of an invalid type.Feature build()
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0