|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.common.util.Version
Version class conforming to JBoss Product Version Conventions post 2006-03-01. See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning.
Nested Class Summary | |
static class |
Version.Qualifier
Type safe enum for intermediate major. |
Field Summary | |
private java.lang.String |
codeName
|
private int |
major
|
private int |
minor
|
private java.lang.String |
name
|
private int |
patch
|
private Version.Qualifier |
qualifier
|
private java.lang.String |
toString
|
Constructor Summary | |
Version(java.lang.String name,
int major,
int minor,
int patch,
Version.Qualifier qualifier,
java.lang.String codeName)
|
Method Summary | |
private java.lang.String |
buildToString()
|
java.lang.String |
getCodeName()
|
int |
getMajor()
Return the major. |
int |
getMinor()
Return the minor. |
java.lang.String |
getName()
Return the name; |
int |
getPatch()
Return the pacht. |
Version.Qualifier |
getQualifier()
Return the intermediate major. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.lang.String codeName
private final java.lang.String toString
private final java.lang.String name
private final int major
private final int minor
private final int patch
private final Version.Qualifier qualifier
Constructor Detail |
public Version(java.lang.String name, int major, int minor, int patch, Version.Qualifier qualifier, java.lang.String codeName)
Method Detail |
public java.lang.String getCodeName()
public java.lang.String getName()
public int getMajor()
public int getMinor()
public int getPatch()
public Version.Qualifier getQualifier()
public java.lang.String toString()
private java.lang.String buildToString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |