Feature Models.
| Modifier and Type | Method and Description |
|---|---|
| public FeatureBuilder | Returns: This builder.The Bundles to add. bundles)Add Bundles to the Feature. |
| public FeatureBuilder | Returns: This builder.The Categories. categories)Adds one or more categories to the Feature. |
| public FeatureBuilder | Returns: This builder.The Configurations to add. configs)Add Configurations to the Feature. |
| public FeatureBuilder | Returns: This builder.The Extensions to add. extensions)Add Extensions to the Feature |
| public FeatureBuilder | Returns: This builder.The key. key, Object The default value. defaultValue)Add a variable to the Feature. |
| public FeatureBuilder | Returns: This builder.to be added. variables)Add a map of variables to the Feature. |
| public Feature | |
| public FeatureBuilder | Returns: This builder.If the feature is complete. complete)Set the Feature Complete flag. |
| public FeatureBuilder | Returns: This builder.The description. description)Set the Feature Description. |
| public FeatureBuilder | |
| public FeatureBuilder | |
| public FeatureBuilder | |
| public FeatureBuilder | |
| public FeatureBuilder |
| addBundles | back to summary |
|---|---|
| public FeatureBuilder addBundles(FeatureBundle... bundles) Add Bundles to the Feature.
| |
| addCategories | back to summary |
|---|---|
| public FeatureBuilder addCategories(String... categories) Adds one or more categories to the Feature.
| |
| addConfigurations | back to summary |
|---|---|
| public FeatureBuilder addConfigurations(FeatureConfiguration... configs) Add Configurations to the Feature.
| |
| addExtensions | back to summary |
|---|---|
| public FeatureBuilder addExtensions(FeatureExtension... extensions) Add Extensions to the Feature
| |
| addVariable | back to summary |
|---|---|
| public FeatureBuilder addVariable(String key, Object defaultValue) Add a variable to the Feature. If a variable with the specified key already exists it is replaced with this one. Variable values are of type: String, Boolean or BigDecimal for numbers.
| |
| addVariables | back to summary |
|---|---|
| public FeatureBuilder addVariables(Map<String, Object> variables) Add a map of variables to the Feature. Pre-existing variables with the same key in are overwritten if these keys exist in the map. Variable values are of type: String, Boolean or BigDecimal for numbers.
| |
| build | back to summary |
|---|---|
| public Feature build() Build the Feature. Can only be called once on a builder. After calling this method the current builder instance cannot be used any more.
| |
| setComplete | back to summary |
|---|---|
| public FeatureBuilder setComplete(boolean complete) Set the Feature Complete flag. If this method is not called the complete
flag defaults to
| |
| setDescription | back to summary |
|---|---|
| public FeatureBuilder setDescription(String description) Set the Feature Description.
| |
| setDocURL | back to summary |
|---|---|
| public FeatureBuilder setDocURL(String docURL) Set the documentation URL.
| |
| setLicense | back to summary |
|---|---|
| public FeatureBuilder setLicense(String license) Set the License.
| |
| setName | back to summary |
|---|---|
| public FeatureBuilder setName(String name) Set the Feature Name.
| |
| setSCM | back to summary |
|---|---|
| public FeatureBuilder setSCM(String scm) Set the SCM information.
| |
| setVendor | back to summary |
|---|---|
| public FeatureBuilder setVendor(String vendor) Set the Vendor.
| |