| Package | Description |
|---|---|
| org.ops4j.pax.exam | |
| org.ops4j.pax.exam.options | |
| org.ops4j.pax.exam.options.extra | |
| org.ops4j.pax.exam.options.libraries |
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeCustomizer
Composite of
Customizers. |
class |
Customizer
Hooks to inject certain activities into pax exam execution phases.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Option> |
OptionUtils.filter(Class<T> optionType,
Option... options)
Filters the provided options by class returning an array of those option that are instance of
the provided class.
|
<T extends Option> |
ExamSystem.getOptions(Class<T> optionType)
Getting options of this "system".
|
<T extends Option> |
ExamSystem.getSingleOption(Class<T> optionType)
A shortcut to
ExamSystem.getOptions(Class) when expecting a single value. |
| Modifier and Type | Method and Description |
|---|---|
static Option |
CoreOptions.bootClasspathLibraries(BootClasspathLibraryOption... libraries)
Creates a composite option of
BootClasspathLibraryOptions. |
static Option |
CoreOptions.bootClasspathLibraries(String... urls)
Creates a composite option of
BootClasspathLibraryOptions. |
static Option |
CoreOptions.bootDelegationPackages(BootDelegationOption... packages)
Creates a composite option of
BootDelegationOptions. |
static Option |
CoreOptions.bootDelegationPackages(String... packages)
Creates a composite option of
BootDelegationOptions. |
static Option[] |
OptionUtils.combine(Option[] options1,
Option... options2)
Combines two arrays of options in one array containing both provided arrays in order they are
provided.
|
Option[] |
ConfigurationFactory.createConfiguration() |
static Option |
CoreOptions.environment(EnvironmentOption... environmentOptions)
Creates a composite option of
EnvironmentOptions. |
static Option |
CoreOptions.environment(String... environmentVariables)
Creates a composite option of
EnvironmentOptions. |
static Option[] |
OptionUtils.expand(Option... options)
Expand options to one level by expanding eventual
CompositeOption. |
static <T extends Option> |
OptionUtils.filter(Class<T> optionType,
Option... options)
Filters the provided options by class returning an array of those option that are instance of
the provided class.
|
static Option |
CoreOptions.frameworkProperties(FrameworkPropertyOption... frameworkProperties)
Creates a composite option of
FrameworkPropertyOptions. |
<T extends Option> |
ExamSystem.getOptions(Class<T> optionType)
Getting options of this "system".
|
static Option[] |
CoreOptions.options(Option... options)
Convenience method (more to be used for a nice fluent api) for creating an array of options.
|
static Option |
CoreOptions.propagateSystemProperties(String... keys)
Propagates a list of system properties from the driver VM to the container VM.
|
static Option |
CoreOptions.provision(InputStream... streams)
Creates a composite option of
ProvisionOptions. |
static Option |
CoreOptions.provision(ProvisionOption<?>... urls)
Creates a composite option of
ProvisionOptions. |
static Option |
CoreOptions.provision(String... urls)
Creates a composite option of
ProvisionOptions. |
static Option[] |
OptionUtils.remove(Class<? extends Option> optionType,
Option... options)
Removes from the provided options all options that are instance of the provided class,
returning the remaining options.
|
static Option |
CoreOptions.repositories(RepositoryOption... repositoryOptions)
Creates a composite option of
RepositoryOptions. |
static Option |
CoreOptions.repositories(String... repositoryUrls)
Creates a composite option of
RepositoryOptions. |
static Option |
CoreOptions.serverMode()
Creates a
CleanCachesOption.value(false) + workingDirectory(folder) options. |
static Option |
CoreOptions.systemPackages(String... packages)
Creates a composite option of
SystemPackageOptions. |
static Option |
CoreOptions.systemPackages(SystemPackageOption... packages)
Creates a composite option of
SystemPackageOptions. |
static Option |
CoreOptions.systemProperties(SystemPropertyOption... systemProperties)
Creates a composite option of
SystemPropertyOptions. |
static Option |
CoreOptions.vmOptions(String... vmOptions)
Creates a composite option of
VMOptions. |
static Option |
CoreOptions.vmOptions(VMOption... vmOptions)
Creates a composite option of
VMOptions. |
| Modifier and Type | Method and Description |
|---|---|
static Option[] |
OptionUtils.combine(Option[] options1,
Option... options2)
Combines two arrays of options in one array containing both provided arrays in order they are
provided.
|
static Option[] |
OptionUtils.combine(Option[] options1,
Option... options2)
Combines two arrays of options in one array containing both provided arrays in order they are
provided.
|
static ModifiableCompositeOption |
CoreOptions.composite(Option... options)
Convenience method (more to be used for a nice fluent api) for creating a composite option.
|
static Option[] |
OptionUtils.expand(Option... options)
Expand options to one level by expanding eventual
CompositeOption. |
static <T extends Option> |
OptionUtils.filter(Class<T> optionType,
Option... options)
Filters the provided options by class returning an array of those option that are instance of
the provided class.
|
ExamSystem |
ExamSystem.fork(Option[] options) |
static Option[] |
CoreOptions.options(Option... options)
Convenience method (more to be used for a nice fluent api) for creating an array of options.
|
static Option[] |
OptionUtils.remove(Class<? extends Option> optionType,
Option... options)
Removes from the provided options all options that are instance of the provided class,
returning the remaining options.
|
| Modifier and Type | Method and Description |
|---|---|
static Option[] |
OptionUtils.remove(Class<? extends Option> optionType,
Option... options)
Removes from the provided options all options that are instance of the provided class,
returning the remaining options.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CompositeOption
An option composed of other options.
|
interface |
DeploymentOption |
interface |
ModifiableCompositeOption |
interface |
ProvisionOption<T extends ProvisionOption<?>>
Option specifying a provision (bundle to be installed).
|
interface |
ValueOption<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDelegateProvisionOption<T extends AbstractDelegateProvisionOption<?>>
Abstract
ProvisionOption that delegates to another provision option. |
class |
AbstractProvisionOption<T extends AbstractProvisionOption<T>>
Convenience abstract implementation of
ProvisionOption. |
class |
AbstractUrlProvisionOption<T extends AbstractUrlProvisionOption<T>>
Option specifying a provision url.
|
class |
BootClasspathLibraryOption
Option specifying a library that will be made available in teh boot classpath.
|
class |
BootDelegationOption
Options specifying a boot delegation package (package for which framework will delegate to the
system classloader).
|
class |
BundleStartLevelOption
Option specifying initial bundle start level.
|
class |
DefaultCompositeOption
Default implementation of (@link CompositeOption}.
|
class |
FrameworkPropertyOption
Option specifying a framework property.
|
class |
FrameworkStartLevelOption
Option specifying framework start level.
|
class |
JarProbeOption
This option can be used to define the contents of a JAR probe for CDI test containers.
|
class |
MavenArtifactDeploymentOption |
class |
MavenArtifactProvisionOption
Option specifying provisioning from an maven url (Pax URL mvn: handler).
|
class |
MavenPluginGeneratedConfigOption |
class |
OptionalCompositeOption
Composite option that will include the options that makes up the composite only in case that a
boolean condition is true.
|
class |
PropagateSystemPropertyOption
Option for propagating a system property from the driver VM to the container VM.
|
class |
ServerModeOption
Marker Option
|
class |
SystemPackageOption
Option specifying a system package (package exported by system bundle).
|
class |
SystemPropertyOption
Option specifying a system property.
|
class |
TimeoutOption
Option specifying a timeout (in milliseconds).
|
class |
UrlDeploymentOption |
class |
UrlProvisionOption
Option specifying a provision url.
|
class |
WarProbeOption
This option can be used to explicitly define the contents of a WAR probe, overriding the default
of the probe being built automatically from the classpath contents, excluding all libraries
matching some predefined patterns.
|
class |
WrappedUrlProvisionOption
Option specifying a provision url that will wrap (osgify) another bundle.
|
| Modifier and Type | Method and Description |
|---|---|
Option[] |
CompositeOption.getOptions()
Getter.
|
Option[] |
DefaultCompositeOption.getOptions() |
Option[] |
OptionalCompositeOption.getOptions()
If condition is true will return the composite options.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultCompositeOption |
DefaultCompositeOption.add(Option... _options)
Adds options.
|
ModifiableCompositeOption |
ModifiableCompositeOption.add(Option... options) |
DefaultCompositeOption |
DefaultCompositeOption.remove(Option... options)
Remove options.
|
ModifiableCompositeOption |
ModifiableCompositeOption.remove(Option... options) |
OptionalCompositeOption |
OptionalCompositeOption.useOptions(Option... options)
Adds options to be used in case that condition evaluates to true.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultCompositeOption |
DefaultCompositeOption.remove(Collection<Option> options)
Remove options.
|
ModifiableCompositeOption |
ModifiableCompositeOption.remove(Collection<Option> options) |
| Constructor and Description |
|---|
DefaultCompositeOption(Option... options)
Constructor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RepositoryOption
Option specifiying a Maven repository.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CleanCachesOption |
class |
EnvironmentOption
Specify process environment.
|
class |
RepositoryOptionImpl
RepositoryOption implementation. |
class |
VMOption
Option specifying a raw virtual machine option.
|
class |
WorkingDirectoryOption
Option to overwrite --workingDirectory default.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JUnitBundlesOption
Option specifying junit bundles (osgi-fyed JUnit).
|
Copyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.