| java.lang.Object | |||
| ↳ | org.ops4j.pax.exam.options.AbstractProvisionControl<T extends org.ops4j.pax.exam.options.AbstractProvisionControl> | ||
| ↳ | org.ops4j.pax.exam.options.AbstractProvisionOption<T extends org.ops4j.pax.exam.options.AbstractProvisionOption> | ||
| ↳ | 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.
| |||||||||||
If the provisioned bundle(s) should be updated (re-downloaded).
| |||||||||||
Sets the artifact type.
| |||||||||||
Setter.
Keep track if the user used the update method, so we do not override the value when handling automatic update on
SNAPSHOT versions.
| |||||||||||
Sets the artifact version or version range.
| |||||||||||
Determines the artifact version using an
MavenUrlReference.VersionResolver.
| |||||||||||
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.
If the provisioned bundle(s) should be updated (re-downloaded). By default bundles should be updated.
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) |
|---|
Setter. Keep track if the user used the update method, so we do not override the value when handling automatic update on SNAPSHOT versions.
| shouldUpdate | true if the provisioned bundle(s) should be updated, false otherwise |
|---|
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) |
|---|
Determines the artifact version using an MavenUrlReference.VersionResolver.
| resolver | a MavenUrlReference.VersionResolver (cannot be null) |
|---|
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