|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.versions.api.AbstractVersionDetails
org.codehaus.mojo.versions.api.PropertyVersions
public class PropertyVersions
Manages a property that is associated with one or more artifacts.
| Method Summary | |
|---|---|
ArtifactAssociation[] |
getAssociations()
|
String |
getName()
|
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestVersion(String currentVersion,
Property property,
Boolean allowSnapshots,
List reactorProjects,
VersionsHelper helper)
|
String |
getProfileId()
|
VersionComparator |
getVersionComparator()
Gets the rule for version comparison of this artifact. |
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(boolean includeSnapshots)
Uses the DefaultVersionsHelper to find all available versions that match all
the associations with this property. |
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(Collection artifacts)
Uses the supplied Collection of Artifact instances to see if an ArtifactVersion can be provided. |
boolean |
isAssociated()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public VersionComparator getVersionComparator()
public ArtifactAssociation[] getAssociations()
public org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(Collection artifacts)
throws org.apache.maven.plugin.MojoExecutionException
Collection of Artifact instances to see if an ArtifactVersion can be provided.
artifacts - The Collection of Artifact instances .
org.apache.maven.plugin.MojoExecutionException - When things go wrong.public org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(boolean includeSnapshots)
DefaultVersionsHelper to find all available versions that match all
the associations with this property.
getVersions in interface VersionDetailsgetVersions in class AbstractVersionDetailsincludeSnapshots - Whether to include snapshot versions in our search.
public String getName()
public String getProfileId()
public boolean isAssociated()
public String toString()
toString in class Object
public org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(String currentVersion,
Property property,
Boolean allowSnapshots,
List reactorProjects,
VersionsHelper helper)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||