Class FeatureOptionBuilder.FeatureOption
java.lang.Object
org.codice.ddf.test.common.configurators.FeatureOptionBuilder.FeatureOption
- Enclosing class:
- FeatureOptionBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddFeatureFrom(String groupId, String artifactId, String featureFileName, String featureName) Adds a newOptionfor the feature contained in the feature file identified by the Maven coordinates and file name provided.addFeatures(String groupId, String artifactId, String... featureNames) Adds a newOptionfor the features listed and contained in the features.xml file identified by the Maven coordinates provided.org.ops4j.pax.exam.Optionbuild()Builds the Pax ExamOptionfrom the list of features added usingaddFeatures(String, String, String...).
-
Method Details
-
addFeatures
public FeatureOptionBuilder.FeatureOption addFeatures(String groupId, String artifactId, String... featureNames) Adds a newOptionfor the features listed and contained in the features.xml file identified by the Maven coordinates provided.- Parameters:
groupId- Maven group ID of the features.xml fileartifactId- Maven artifact ID of the features.xml filefeatureNames- names of the features to install from the features.xml file identified by the Maven coordinates provided- Returns:
- this
FeatureOptionBuilder.FeatureOption
-
addFeatureFrom
public FeatureOptionBuilder.FeatureOption addFeatureFrom(String groupId, String artifactId, String featureFileName, String featureName) Adds a newOptionfor the feature contained in the feature file identified by the Maven coordinates and file name provided.- Parameters:
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 provided- Returns:
- this
FeatureOptionBuilder.FeatureOption
-
build
public org.ops4j.pax.exam.Option build()Builds the Pax ExamOptionfrom the list of features added usingaddFeatures(String, String, String...).- Returns:
- option for the list of features added
-