public class FeatureOptionBuilder extends Object
FeatureOptionBuilder.add(...).add(...).build()
.Modifier and Type | Class and Description |
---|---|
static class |
FeatureOptionBuilder.FeatureOption |
Modifier and Type | Method and Description |
---|---|
static FeatureOptionBuilder.FeatureOption |
addFeatureFrom(String groupId,
String artifactId,
String featureFileName,
String featureName)
Creates a new
FeatureOptionBuilder.FeatureOption that contains the feature contained in the feature file
identified by the Maven coordinates and file name provided. |
static FeatureOptionBuilder.FeatureOption |
addFeatures(String groupId,
String artifactId,
String... featureNames)
Creates a new
FeatureOptionBuilder.FeatureOption that contains the features listed and contained in the
features.xml file identified by the Maven coordinates provided. |
static FeatureOptionBuilder.FeatureOption |
empty()
Creates an empty
FeatureOptionBuilder.FeatureOption . |
public static FeatureOptionBuilder.FeatureOption addFeatures(String groupId, String artifactId, String... featureNames)
FeatureOptionBuilder.FeatureOption
that contains the features listed and contained in the
features.xml file identified by the Maven coordinates provided.groupId
- Maven group ID of the features.xml fileartifactId
- Maven artifact ID of the features.xml filefeatureNames
- names of features to install from the features.xml file identified by the
Maven coordinates providedFeatureOptionBuilder.FeatureOption
public static FeatureOptionBuilder.FeatureOption addFeatureFrom(String groupId, String artifactId, String featureFileName, String featureName)
FeatureOptionBuilder.FeatureOption
that contains the feature contained in the feature file
identified by the Maven coordinates and file name provided.groupId
- Maven group ID of the feature fileartifactId
- Maven artifact ID of the feature filefeatureFileName
- name of the feature file without the extensionfeatureName
- names of the features to install from the feature file identified by the
Maven coordinates and file name providedFeatureOptionBuilder.FeatureOption
public static FeatureOptionBuilder.FeatureOption empty()
FeatureOptionBuilder.FeatureOption
.FeatureOptionBuilder.FeatureOption
This work is licensed under a Creative Commons Attribution 4.0 International License.