| java.lang.Object | |
| ↳ | org.ops4j.pax.exam.OptionUtils |
Utility methods related to Options.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Combines two arrays of options in one array containing both provided arrays in order they are
provided.
| |||||||||||
Expand options to one level by expanding eventual
CompositeOption. | |||||||||||
Filters the provided options by class returning an array of those option that are instance of
the provided class.
| |||||||||||
Removes from the provided options all options that are instance of the provided class,
returning the remaining options.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Combines two arrays of options in one array containing both provided arrays in order they are provided.
| options1 | array of options (can be null or empty array) |
|---|---|
| options2 | array of options (can be null or empty array) |
Expand options to one level by expanding eventual CompositeOption. During this
process null options are eliminated.
| options | options to be expanded (can be null or an empty array) |
|---|
Filters the provided options by class returning an array of those option that are instance of
the provided class. Before filtering the options are expanded expand(Option[]).
| optionType | class of the desired options |
|---|---|
| options | options to be filtered (can be null or empty array) |
Removes from the provided options all options that are instance of the provided class, returning the remaining options.
| optionType | class of the desired options to be removed |
|---|---|
| options | options to be filtered (can be null or empty array) |