|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.project.Version
public class Version
This element describes each of the previous versions of
the
project. Each version is described by a
version
element
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
java.lang.String |
getId()
Get A unique identifier for a version. |
java.lang.String |
getModelEncoding()
|
java.lang.String |
getName()
Get The external version number under which this release was distributed. |
java.lang.String |
getTag()
Get The name given in the SCM (e.g. |
void |
setId(java.lang.String id)
Set A unique identifier for a version. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setName(java.lang.String name)
Set The external version number under which this release was distributed. |
void |
setTag(java.lang.String tag)
Set The name given in the SCM (e.g. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Version()
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getName()
1.0
,
1.1-alpha1
,
1.2-beta
,
1.3.2
etc.
public java.lang.String getTag()
public void setId(java.lang.String id)
id
- public void setName(java.lang.String name)
1.0
,
1.1-alpha1
,
1.2-beta
,
1.3.2
etc.
name
- public void setTag(java.lang.String tag)
tag
- public java.lang.String toString()
toString
in class java.lang.Object
public void setModelEncoding(java.lang.String modelEncoding)
public java.lang.String getModelEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |