|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dtf.testframework.coordinator.OSProductCombination
public class OSProductCombination
This class is used to store and Operating System/Product combination so that they can easily be passed between classes.
Constructor Summary | |
---|---|
OSProductCombination(java.lang.String osName,
java.lang.String productName)
Create an OS/Product combination with the given os and product name |
Method Summary | |
---|---|
static long |
generateChecksum(java.lang.String text)
Generate a checksum from the given text. |
java.lang.String |
getOSName()
Retrieve the name of the OS from this combination |
java.lang.String |
getProductName()
Retrieve the name of the Product from this combination |
static java.lang.String |
padHexNumber(java.lang.String text,
int places)
|
java.lang.String |
toString()
Convert this OS/Product combination into a 4 character hex code |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OSProductCombination(java.lang.String osName, java.lang.String productName)
osName
- The name of the OSproductName
- The name of the ProductMethod Detail |
---|
public final java.lang.String getOSName()
public final java.lang.String getProductName()
public static final java.lang.String padHexNumber(java.lang.String text, int places)
public final java.lang.String toString()
toString
in class java.lang.Object
public static final long generateChecksum(java.lang.String text)
text
- The string to generate the checksum for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |