|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.transformation.classes.Os
public class Os
| Field Summary | |
|---|---|
private static String |
_AIX
|
private static String |
_LINUX
|
private static String |
_SUNOS
|
private static HashMap |
_table_
|
private String |
_value_
|
private static String |
_WINDOWS
|
static Os |
AIX
|
static String |
err
|
static Os |
LINUX
|
static Os |
SUNOS
|
static Os |
WINDOWS
|
| Constructor Summary | |
|---|---|
protected |
Os(String value)
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares if a given Os object is equal to this. |
static Os |
fromString(String value)
Creates a new Os object given an os string. |
static Os |
fromValue(String value)
Creates a new Os object given an os string. |
String |
getValue()
Returns the value of the operating system as string. |
int |
hashCode()
|
String |
toString()
Returns the string value of the operating system. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String _value_
private static HashMap _table_
private static final String _LINUX
private static final String _SUNOS
private static final String _AIX
private static final String _WINDOWS
public static final Os LINUX
public static final Os SUNOS
public static final Os AIX
public static final Os WINDOWS
public static final String err
| Constructor Detail |
|---|
protected Os(String value)
| Method Detail |
|---|
public String getValue()
public static Os fromValue(String value)
throws IllegalStateException
value - String
IllegalStateException - Throws Exception if the operating system is not defined in this class.
public static Os fromString(String value)
throws IllegalStateException
value - String
IllegalStateException - Throws Exception if the operating system is not defined in this class.public boolean equals(Object obj)
equals in class Objectobj - Object
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||