|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derbyTesting.functionTests.tests.upgradeTests.Version
public class Version
A Derby version.
| Nested Class Summary | |
|---|---|
static class |
Version.Trajectory
This is a sequence of Versions. |
| Field Summary | |
|---|---|
private java.lang.String |
_branchID
|
private static java.util.HashMap |
_classLoaders
|
private java.lang.String |
_key
|
private int[] |
_legs
|
private static int |
EXPECTED_LEG_COUNT
|
| Constructor Summary | |
|---|---|
Version(int[] legs)
Construct a version from its legs |
|
Version(int major,
int minor,
int fixpack,
int bugversion)
Construct a version from four legs |
|
Version(org.apache.derby.iapi.services.info.ProductVersionHolder pvh)
Construct from a Derby ProductVersionHolder |
|
| Method Summary | |
|---|---|
private void |
addClassLoader()
Add the class loader for this version if it doesn't already exist. |
int |
compareTo(java.lang.Object other)
|
private void |
constructorMinion(int[] legs)
|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getBranchID()
Pretty-print the branch id, that is, the major + minor legs of the Version. |
java.lang.ClassLoader |
getClassLoader()
Get a class loader for this version. |
private int[] |
getLegs(org.apache.derby.iapi.services.info.ProductVersionHolder pvh)
|
int |
hashCode()
|
private void |
makeKey()
Make the key for looking up our class loader. |
java.lang.String |
toString()
Pretty-print this version. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final int EXPECTED_LEG_COUNT
private int[] _legs
private java.lang.String _key
private java.lang.String _branchID
private static java.util.HashMap _classLoaders
| Constructor Detail |
|---|
public Version(int major,
int minor,
int fixpack,
int bugversion)
public Version(int[] legs)
public Version(org.apache.derby.iapi.services.info.ProductVersionHolder pvh)
| Method Detail |
|---|
private void constructorMinion(int[] legs)
private int[] getLegs(org.apache.derby.iapi.services.info.ProductVersionHolder pvh)
public java.lang.String toString()
Pretty-print this version.
toString in class java.lang.Objectpublic java.lang.String getBranchID()
Pretty-print the branch id, that is, the major + minor legs of the Version.
public java.lang.ClassLoader getClassLoader()
Get a class loader for this version.
public int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparablepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprivate void addClassLoader()
Add the class loader for this version if it doesn't already exist.
private void makeKey()
Make the key for looking up our class loader.
|
Built on Sat 2009-11-28 18:44:18-0800, from revision 885187 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||