Package org.codehaus.mojo.versions.api
Class PropertyVersionsBuilder
java.lang.Object
org.codehaus.mojo.versions.api.PropertyVersionsBuilder
Builds
PropertyVersions instances.- Since:
- 1.0-beta-1
- Author:
- Stephen Connolly
-
Method Summary
Modifier and TypeMethodDescriptionbuild()voidgetName()booleanwithAssociation(org.apache.maven.artifact.Artifact artifact, boolean usePluginRepositories) withCurrentVersion(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion) withCurrentVersionRange(org.apache.maven.artifact.versioning.VersionRange currentVersionRange) withLowerBound(String lowerBound, boolean includeLower) withUpperBound(String upperBound, boolean includeUpper)
-
Method Details
-
withAssociation
public PropertyVersionsBuilder withAssociation(org.apache.maven.artifact.Artifact artifact, boolean usePluginRepositories) -
clearAssociations
public void clearAssociations() -
isAssociated
public boolean isAssociated() -
getAssociations
-
build
- Throws:
VersionRetrievalException
-
getName
-
getVersionRange
-
withLowerBound
-
withUpperBound
-
withCurrentVersion
public PropertyVersionsBuilder withCurrentVersion(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion) -
withCurrentVersionRange
public PropertyVersionsBuilder withCurrentVersionRange(org.apache.maven.artifact.versioning.VersionRange currentVersionRange)
-