| org.ops4j.pax.exam.options.MavenUrlReference |
Known Indirect Subclasses
|
Option specifying a maven url (Pax URL mvn: handler).
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MavenUrlReference.VersionResolver | Resolves versions based on maven artifact groupId / atifactid. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the artifact id.
| |||||||||||
Sets the artifact classifier.
| |||||||||||
Sets the artifact group id.
| |||||||||||
Returns true if the specified version is a snapshot version, false if not and null if the
version is not yet specified.
| |||||||||||
Sets the artifact type.
| |||||||||||
Determines the artifact version using an
MavenUrlReference.VersionResolver. | |||||||||||
Sets the artifact version or version range.
| |||||||||||
Version will be discovered from the dependencies of Maven project that includes the
regression.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.ops4j.pax.exam.options.UrlReference
| |||||||||||
Sets the artifact id.
| artifactId | artifact id (cannot be null or empty) |
|---|
| IllegalArgumentException | - If artifact id is null or empty |
|---|
Sets the artifact classifier.
| classifier | artifact classifier (cannot be null or empty) |
|---|
| IllegalArgumentException | - If classifier is null or empty |
|---|
Sets the artifact group id.
| groupId | artifact group id (cannot be null or empty) |
|---|
| IllegalArgumentException | - If group id is null or empty |
|---|
Returns true if the specified version is a snapshot version, false if not and null if the version is not yet specified.
Sets the artifact type. Do not set the value (use this method) if default artifact type should be used.
| type | artifact type (cannot be null or empty) |
|---|
| IllegalArgumentException | - If type is null or empty |
|---|
Determines the artifact version using an MavenUrlReference.VersionResolver.
| resolver | a MavenUrlReference.VersionResolver (cannot be null) |
|---|
| IllegalArgumentException | - If version is null |
|---|
Sets the artifact version or version range. If version is a SNAPSHOT version the bundle will be set to updatable, otherwise the bundle will not be updated. This handling happens only if the user dows not use the update() by itself (see org.ops4j.pax.exam.options.ProvisionOption#update(boolean)).
| version | artifact version / version range (cannot be null or empty) |
|---|
| IllegalArgumentException | - If version is null or empty |
|---|
Version will be discovered from the dependencies of Maven project that includes the regression.