| java.lang.Object | |||
| ↳ | org.ops4j.pax.exam.options.AbstractProvisionControl<T extends org.ops4j.pax.exam.options.AbstractProvisionControl<T>> | ||
| ↳ | org.ops4j.pax.exam.options.AbstractProvisionOption<T extends org.ops4j.pax.exam.options.AbstractProvisionOption<T>> | ||
| ↳ | org.ops4j.pax.exam.options.MavenArtifactProvisionOption | ||
Option specifying provisioning from an maven url (Pax URL mvn: handler).
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor based on a mevn artifact option.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the artifact id.
| |||||||||||
Sets the artifact classifier.
| |||||||||||
Getter.
| |||||||||||
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.
| |||||||||||
Keep track if the user used the update method, so we do not override the value
when handling automatic update on SNAPSHOT versions.
| |||||||||||
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.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Implemented by sub classes in order to return itself (this) for fluent api usage
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.ops4j.pax.exam.options.AbstractProvisionControl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.ops4j.pax.exam.options.MavenUrlReference
| |||||||||||
From interface
org.ops4j.pax.exam.options.ProvisionControl
| |||||||||||
From interface
org.ops4j.pax.exam.options.UrlReference
| |||||||||||
Constructor.
Constructor based on a mevn artifact option.
| artifact | maven artifact (cannot be null) |
|---|
Sets the artifact id.
| artifactId | artifact id (cannot be null or empty) |
|---|
Sets the artifact classifier.
| classifier | artifact classifier (cannot be null or empty) |
|---|
Getter.
Sets the artifact group id.
| groupId | artifact group id (cannot be 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) |
|---|
Keep track if the user used the update method, so we do not override the value when handling automatic update on SNAPSHOT versions.
Determines the artifact version using an MavenUrlReference.VersionResolver.
| resolver | a MavenUrlReference.VersionResolver (cannot be 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) |
|---|
Version will be discovered from the dependencies of Maven project that includes the regression.
Implemented by sub classes in order to return itself (this) for fluent api usage