|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactVersionRange
Defines implementations of the artifact version to create query URLs for different issue management systems.
Method Summary | |
---|---|
StringBuilder |
appendToUrl(StringBuilder buffer) Appends the information of this version range to the buffer. |
boolean |
containsVersion(org.apache.maven.artifact.versioning.ArtifactVersion version) Checks if the given version is part of the range or not. |
String |
getVersionSpecification() Returns the specification defining the range of valid versions. |
String |
toString() Returns the version specification passed to the constructor. |
Method Detail |
---|
String getVersionSpecification()
boolean containsVersion(org.apache.maven.artifact.versioning.ArtifactVersion version) throws NullPointerException
true
if the version is within the range,
false
otherwise.
NullPointerException
- if
version
is
null
.
StringBuilder appendToUrl(StringBuilder buffer)
buffer
- the buffer that contains the URL to be created. If the buffer is not empty and does not end with
?
or
&
, an
&
is appended.
String toString()
Returns the version specification passed to the constructor.
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |