public class PropertyVersions extends AbstractVersionDetails
| Modifier and Type | Method and Description |
|---|---|
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<org.apache.maven.artifact.Artifact> artifacts)
Uses the supplied
Collection of Artifact instances to see if an ArtifactVersion can be provided. |
boolean |
isAssociated() |
String |
toString() |
containsVersion, getAllUpdates, getAllUpdates, getAllUpdates, getAllUpdates, getAllUpdates, getAllUpdates, getAllUpdates, getAllUpdates, getCurrentVersion, getNewerVersions, getNewerVersions, getNewestUpdate, getNewestUpdate, getNewestUpdate, getNewestUpdate, getNewestUpdate, getNewestUpdate, getNewestUpdate, getNewestUpdate, getNewestVersion, getNewestVersion, getNewestVersion, getNewestVersion, getNewestVersion, getOldestUpdate, getOldestUpdate, getOldestUpdate, getOldestUpdate, getOldestUpdate, getOldestUpdate, getOldestUpdate, getOldestUpdate, getOldestVersion, getOldestVersion, getOldestVersion, getOldestVersion, getOldestVersion, getVersions, getVersions, getVersions, getVersions, getVersions, getVersions, isCurrentVersionDefined, isIncludeSnapshots, setCurrentVersion, setCurrentVersion, setIncludeSnapshotspublic VersionComparator getVersionComparator()
public ArtifactAssociation[] getAssociations()
public org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(Collection<org.apache.maven.artifact.Artifact> 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 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.MojoExecutionExceptionCopyright © 2008-2014. All Rights Reserved.