Class FeatureOptionBuilder.FeatureOption

java.lang.Object
org.codice.ddf.test.common.configurators.FeatureOptionBuilder.FeatureOption
Enclosing class:
FeatureOptionBuilder

public static class FeatureOptionBuilder.FeatureOption extends Object
  • Method Details

    • addFeatures

      public 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.
      Parameters:
      groupId - Maven group ID of the features.xml file
      artifactId - Maven artifact ID of the features.xml file
      featureNames - 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 new Option for the feature contained in the feature file identified by the Maven coordinates and file name provided.
      Parameters:
      groupId - Maven group ID of the feature file
      artifactId - Maven artifact ID of the feature file
      featureFileName - name of the feature file without the extension
      featureName - 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 Exam Option from the list of features added using addFeatures(String, String, String...).
      Returns:
      option for the list of features added