| java.lang.Object | |
| ↳ | org.ops4j.pax.exam.options.OptionalCompositeOption |
Composite option that will include the options that makes up the composite only in case that a boolean condition is true.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OptionalCompositeOption.BooleanCondition | Boolean based OptionalCompositeOption.Condition implementation. |
||||||||||
| OptionalCompositeOption.Condition | Condition to be evaluated. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Convenience constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
If condition is true will return the composite options.
| |||||||||||
Adds options to be used in case that condition evaluates to true.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.ops4j.pax.exam.options.CompositeOption
| |||||||||||
Constructor.
| condition | condition to evaluate |
|---|
Convenience constructor.
| condition | boolean condition to evaluate |
|---|
If condition is true will return the composite options. Otherwise will return an empty array of options.
Adds options to be used in case that condition evaluates to true.
| options | to use |
|---|