public static class FeatureOptionBuilder.FeatureOption extends Object
Modifier and Type | Method and Description |
---|---|
FeatureOptionBuilder.FeatureOption |
addFeatureFrom(String groupId,
String artifactId,
String featureFileName,
String featureName)
Adds a new
Option for the feature contained in the feature file identified by the
Maven coordinates and file name provided. |
FeatureOptionBuilder.FeatureOption |
addFeatures(String groupId,
String artifactId,
String... featureNames)
Adds a new
Option for the features listed and contained in the features.xml file
identified by the Maven coordinates provided. |
org.ops4j.pax.exam.Option |
build()
Builds the Pax Exam
Option from the list of features added using addFeatures(String, String, String...) . |
public FeatureOptionBuilder.FeatureOption addFeatures(String groupId, String artifactId, String... featureNames)
Option
for 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 the features to install from the features.xml file identified by
the Maven coordinates providedFeatureOptionBuilder.FeatureOption
public FeatureOptionBuilder.FeatureOption addFeatureFrom(String groupId, String artifactId, String featureFileName, String featureName)
Option
for 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 org.ops4j.pax.exam.Option build()
Option
from the list of features added using addFeatures(String, String, String...)
.This work is licensed under a Creative Commons Attribution 4.0 International License.