|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.Version
public class Version
Contains version information about the current release.
Field Summary | |
---|---|
private static java.lang.String |
extra
|
private static java.lang.String |
major
|
private static java.lang.String |
minor
|
private static java.lang.String |
patch
|
private static java.lang.String |
product
|
private static java.lang.String |
releaseTag
|
private static java.lang.String |
security
|
private static java.lang.String |
version
|
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
static java.lang.String |
getExtra()
Returns any extra string used to construct this version. |
static java.lang.String |
getMajor()
Returns the major version. |
static java.lang.String |
getMinor()
Returns the minor version. |
static java.lang.String |
getPatch()
Returns the patch version. |
static java.lang.String |
getProduct()
Returns the product name. |
static java.lang.String |
getProductAndVersion()
Returns a display-friendly string representing the current product and version. |
static java.lang.String |
getReleaseTag()
Returns the release tag in the CVS repository corresponding to the current code. |
static java.lang.String |
getSecurity()
Returns the security version. |
static java.lang.String |
getVersion()
Returns the version of the current code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.lang.String product
private static java.lang.String major
private static java.lang.String minor
private static java.lang.String patch
private static java.lang.String security
private static java.lang.String extra
private static java.lang.String releaseTag
private static java.lang.String version
Constructor Detail |
---|
public Version()
Method Detail |
---|
public static java.lang.String getProduct()
uPortal
for uPortal 2.3.4.
public static java.lang.String getMajor()
2
for uPortal 2.3.4.
public static java.lang.String getMinor()
3
for uPortal 2.3.4.
public static java.lang.String getPatch()
4
for uPortal 2.3.4.
This method may return an empty String.
public static java.lang.String getSecurity()
1
for uPortal 2.3.4.1.
This method may return an empty String.
public static java.lang.String getExtra()
+
for uPortal 2.3.4+.
A plus sign is used to denote that the code is between releases,
the head of a branch in CVS. This method may return an empty String.
public static java.lang.String getReleaseTag()
rel-2-3-4
.
public static java.lang.String getVersion()
2.3.4
.
public static java.lang.String getProductAndVersion()
uPortal 2.3.4
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |