Class BundleOptionBuilder
java.lang.Object
org.codice.ddf.test.common.configurators.BundleOptionBuilder
Builder class used to create Pax Exam options that will get OSGi bundles from a Maven repository.
To use, simply do
BundleOptionBuilder.add(...).add(...).build().-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBundleOptionBuilder.BundleOptionused to add a bundleOption. -
Method Summary
Modifier and TypeMethodDescriptionCreates a newBundleOptionBuilder.BundleOptionthat contains the bundle specified by the Maven coordinates provided.empty()Creates an emptyBundleOptionBuilder.BundleOption.
-
Method Details
-
add
Creates a newBundleOptionBuilder.BundleOptionthat contains the bundle specified by the Maven coordinates provided.- Parameters:
groupId- Maven group ID of the bundle to addartifactId- Maven artifact ID of the bundle to add- Returns:
- a new
BundleOptionBuilder.BundleOption
-
empty
Creates an emptyBundleOptionBuilder.BundleOption.- Returns:
- empty
BundleOptionBuilder.BundleOption
-