| java.lang.Object | |
| ↳ | org.ops4j.pax.exam.options.extra.ProfileOption |
This class is deprecated.
Only supported by Pax Runner Container which will be removed in Pax Exam 3.0.
Option specifying a Pax runner provisioning profile.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Getter.
| |||||||||||
Sets the profile version or version range.
| |||||||||||
Discovers the profile version out of the project.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructor.
| name | profile name (cannot be null or empty) |
|---|
| IllegalArgumentException | - If name is null or empty |
|---|
Constructor.
| name | profile name (cannot be null or empty) |
|---|---|
| version | profile version (cannot be empty) |
| IllegalArgumentException | - If name is null or empty |
|---|
Getter.
Sets the profile version or version range. Do not set (use this method) if the latest version should be discovered and used)
| version | artifact version / version range (cannot be empty) |
|---|
| IllegalArgumentException | - If version is empty |
|---|
Discovers the profile version out of the project. To do so, the maven project should have a dependency on the profile and Pax Exam maven plugin configured to run the "generate-depends-file" goal.