| java.lang.Object | |
| ↳ | org.ops4j.pax.exam.CoreOptions |
Factory methods for core options.
Deprecated options are only supported by Pax Runner Container which is deprecated itself and will be removed in Pax Exam 3.0.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a composite option of all versions of Felix, Equinox and Knopflerfish.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
AutoWrapOption. | |||||||||||
Creates a composite option of
BootClasspathLibraryOptions. | |||||||||||
Creates a composite option of
BootClasspathLibraryOptions. | |||||||||||
Creates a
BootClasspathLibraryOption. | |||||||||||
Creates a
BootClasspathLibraryOption. | |||||||||||
Creates a
BootDelegationOption. | |||||||||||
Creates a composite option of
BootDelegationOptions. | |||||||||||
Creates a composite option of
BootDelegationOptions. | |||||||||||
Creates a
UrlProvisionOption. | |||||||||||
Creates an
BundleStartLevelOption. | |||||||||||
Creates a
CleanCachesOption. | |||||||||||
Creates a
CleanCachesOption. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Convenience method (more to be used for a nice fluent api) for creating a composite option.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
DebugClassLoadingOption. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
EasyMockBundlesOption. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a composite option of
FrameworkPropertyOptions. | |||||||||||
Creates a
FrameworkPropertyOption. | |||||||||||
Creates an
FrameworkStartLevelOption. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
JMockBundlesOption. | |||||||||||
Creates a
JUnitBundlesOption. | |||||||||||
Creates a
CleanCachesOption. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
MavenArtifactUrlReference. | |||||||||||
Convenience method (shorter) for referencing an maven artifact based on groupId/artifactId.
| |||||||||||
Convenience method (shorter) for referencing a maven artifact based on groupId/artifactId/version.
| |||||||||||
Creates a
MavenArtifactProvisionOption. | |||||||||||
Convenience method (shorter) for adding a maven bundle based on groupId/artifactId.
| |||||||||||
Convenience method (shorter) for adding a maven bundle based on groupId/artifactId/version.
| |||||||||||
Convenience factory method for adding a maven bundle based on a meven artifact.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
MockitoBundlesOption. | |||||||||||
Convenience method (more to be used for a nice fluent api) for creating an array of options.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a composite option of
ProvisionOptions. | |||||||||||
Creates a composite option of
ProvisionOptions. | |||||||||||
Creates a composite option of
ProvisionOptions. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a composite option of
RepositoryOptions. | |||||||||||
Creates a composite option of
RepositoryOptions. | |||||||||||
Creates a
RepositoryOption. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
CleanCachesOption.value(false) + workingDirectory(folder) options. | |||||||||||
Creates a
SystemPackageOption. | |||||||||||
Creates a composite option of
SystemPackageOptions. | |||||||||||
Creates a composite option of
SystemPackageOptions. | |||||||||||
Creates a composite option of
SystemPropertyOptions. | |||||||||||
Creates a
SystemPropertyOption. | |||||||||||
Creates a
TimeoutOption for a number of millis. | |||||||||||
Creates a
UrlProvisionOption. | |||||||||||
Creates a
VMOption. | |||||||||||
Creates a composite option of
VMOptions. | |||||||||||
Creates a composite option of
VMOptions. | |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| |||||||||||
Creates a
OptionalCompositeOption. | |||||||||||
Creates a
OptionalCompositeOption. | |||||||||||
Creates a
WorkingDirectoryOption. | |||||||||||
Creates a
WrappedUrlProvisionOption. | |||||||||||
Creates a
WrappedUrlProvisionOption. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a composite option of all EquinoxFrameworkOption versions (up to the date of Pax Exam release).
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a composite option of all FelixFrameworkOption versions (up to the date of Pax Exam release).
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a composite option of latest versions of Felix, Equinox and Knopflerfish.
Creates a composite option of all versions of Felix, Equinox and Knopflerfish.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a composite option of all KnopflerfishFrameworkOption versions (up to the date of Pax Exam release).
Creates a composite option of BootClasspathLibraryOptions.
| urls | boot classpath library urls (cannot be null or containing null entries) |
|---|
| IllegalArgumentException | - If urls array is null or contains null entries |
|---|
Creates a composite option of BootClasspathLibraryOptions.
| libraries | boot classpath library options |
|---|
Creates a BootClasspathLibraryOption.
| libraryUrl | boot classpath library url |
|---|
Creates a BootClasspathLibraryOption.
| libraryUrl | boot classpath library url |
|---|
Creates a BootDelegationOption.
| pkg | boot delegation package |
|---|
Creates a composite option of BootDelegationOptions.
| packages | boot delegation packages (cannot be null or containing null entries) |
|---|
| IllegalArgumentException | - If urls array is null or contains null entries |
|---|
Creates a composite option of BootDelegationOptions.
| packages | boot delegation package options |
|---|
Creates an BundleStartLevelOption.
| startLevel | initial bundle start level (must be bigger then zero) |
|---|
Creates a CleanCachesOption.
Creates a CleanCachesOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a Log Service ProfileOption (--profiles=compendium).
Convenience method (more to be used for a nice fluent api) for creating a composite option.
| options | options |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a Configuration Admin Service ProfileOption (--profiles=config).
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
| baseFrameworkName | one of the frameworks supported by pax runner. Must match the framework you link to via #definitionURL |
|---|---|
| definitionURL | url to a custom pax runner platform xml descriptor |
| name | a custom name you give this combo (will show up in pax runner startup and error msg) |
Creates a DebugClassLoadingOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a Declarative Service ProfileOption (--profiles=ds).
Creates a EasyMockBundlesOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a EquinoxFrameworkOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a ExcludeDefaultRepositoriesOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a FelixFrameworkOption.
Creates a composite option of FrameworkPropertyOptions.
| frameworkProperties | framework property options |
|---|
Creates a FrameworkPropertyOption.
| key | framework property key |
|---|
Creates an FrameworkStartLevelOption.
| startLevel | framework start level (must be bigger then zero) |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a composite option of FrameworkOptions.
| frameworks | framework options |
|---|
Creates a JMockBundlesOption.
Creates a JUnitBundlesOption.
Creates a CleanCachesOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a KnopflerfishFrameworkOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a LocalRepositoryOption.
| path | localRepository path or url |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a Log Service ProfileOption (--profiles=log).
Creates a MavenArtifactUrlReference.
Convenience method (shorter) for referencing an maven artifact based on groupId/artifactId.
| groupId | artifact group id |
|---|---|
| artifactId | artifact id |
Convenience method (shorter) for referencing a maven artifact based on groupId/artifactId/version.
| groupId | artifact group id |
|---|---|
| artifactId | artifact id |
| version | artifact version |
Creates a MavenArtifactProvisionOption.
Convenience method (shorter) for adding a maven bundle based on groupId/artifactId.
| groupId | artifact group id |
|---|---|
| artifactId | artifact id |
Convenience method (shorter) for adding a maven bundle based on groupId/artifactId/version.
| groupId | artifact group id |
|---|---|
| artifactId | artifact id |
| version | artifact version |
Convenience factory method for adding a maven bundle based on a meven artifact.
| artifact | maven artifact |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a MavenPluginGeneratedConfigOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a MavenPluginGeneratedConfigOption.
| url | of configuration to be used |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a MavenPluginGeneratedConfigOption.
| url | of configuration to be used |
|---|
Creates a MockitoBundlesOption.
Convenience method (more to be used for a nice fluent api) for creating an array of options. It also expands the composite options.
| options | to be used. |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a ProfileOption by profile name.
| name | profile name |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a ProfileOption by profile name and version.
| name | profile name |
|---|---|
| version | profile version |
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a composite option of ProfileOption.
| profiles | profile options |
|---|
Creates a composite option of ProvisionOptions. This is handy when bundles are built on the fly via TinyBundles.
| streams | provision sources |
|---|
| IllegalArgumentException | - If a problem occured while flushing streams |
|---|
Creates a composite option of ProvisionOptions.
| urls | provision urls (cannot be null or containing null entries) |
|---|
| IllegalArgumentException | - If urls array is null or contains null entries |
|---|
Creates a composite option of ProvisionOptions.
| urls | provision options |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a RawPaxRunnerOptionOption.
| option | full Pax Runner option (including --) |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a RawPaxRunnerOptionOption.
| key | option name (key) |
|---|---|
| value | option value |
Creates a composite option of RepositoryOptions.
| repositoryUrls | Maven repository URLs |
|---|
| IllegalArgumentException | - If urls array is null or contains null entries |
|---|
Creates a composite option of RepositoryOptions.
| repositoryOptions | repository options |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a RawScannerProvisionOption.
| provisionSpec | raw provisioning spec |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a BundleScannerProvisionOption.
| bundleUrl | url of the bundle to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a BundleScannerProvisionOption.
| bundleUrl | url of the bundle to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a CompositeScannerProvisionOption.
| fileUrl | url of the file to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a CompositeScannerProvisionOption.
| fileUrl | url of the file to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a DirScannerProvisionOption.
| directory | directory to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a FeaturesScannerProvisionOption.
| repositoryUrl | url of features respository to be scanned |
|---|---|
| features | features to be scanned |
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a FileScannerProvisionOption.
| repositoryUrl | url of features respository to be scanned |
|---|---|
| features | features to be scanned |
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a FileScannerProvisionOption.
| fileUrl | url of the file to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a FileScannerProvisionOption.
| fileUrl | url of the file to be scanned |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a PomScannerProvisionOption.
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a PomScannerProvisionOption.
| url | to pom |
|---|
Creates a CleanCachesOption.value(false) + workingDirectory(folder) options.
Creates a composite option of SystemPackageOptions.
| packages | system packages (cannot be null or containing null entries) |
|---|
| IllegalArgumentException | - If urls array is null or contains null entries |
|---|
Creates a composite option of SystemPackageOptions.
| packages | system package options |
|---|
Creates a composite option of SystemPropertyOptions.
| systemProperties | system property options |
|---|
Creates a SystemPropertyOption.
| key | system property key |
|---|
Creates a TimeoutOption for a number of millis.
| timeoutInMillis | timeout in millis |
|---|
Creates a composite option of VMOptions.
| vmOptions | virtual machine options (cannot be null or containing null entries) |
|---|
| IllegalArgumentException | - If urls array is null or contains null entries |
|---|
Creates a composite option of VMOptions.
| vmOptions | virtual machine options |
|---|
This method is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Creates a Http Service ProfileOption (--profiles=web).
Creates a OptionalCompositeOption.
| condition | boolean condition to evaluate |
|---|
Creates a OptionalCompositeOption.
| condition | condition to evaluate |
|---|
Creates a WorkingDirectoryOption.
| directory | url of the bundle to be scanned |
|---|
Creates a WrappedUrlProvisionOption.
| jarToWrapUrl | url of jar to be wrapped |
|---|
Creates a WrappedUrlProvisionOption.
| jarToWrapUrl | url of jar to be wrapped |
|---|