public enum SystemProperty extends java.lang.Enum<SystemProperty>
SystemProperty class.
Enum Constant and Description |
---|
numWorkers
Number of workers to use.
|
showRuntimeStats
Show runtime stats.
|
showWarning
Show warning/debug messages.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyValue()
getPropertyValue.
|
void |
set(java.lang.Object value)
Helper method to set the property used by the Habanero runtime during
initialization.
|
void |
setProperty(java.lang.Object value)
Helper method to set the property used by the Habanero runtime during
initialization.
|
static void |
setSystemProperty(SystemProperty hjSystemProperty,
java.lang.Object value)
Helper method to set the property used by the Habanero runtime during
initialization.
|
java.lang.String |
toString() |
static SystemProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SystemProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemProperty numWorkers
public static final SystemProperty showWarning
public static final SystemProperty showRuntimeStats
public static SystemProperty[] values()
for (SystemProperty c : SystemProperty.values()) System.out.println(c);
public static SystemProperty valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static void setSystemProperty(SystemProperty hjSystemProperty, java.lang.Object value)
hjSystemProperty
- The system property to setvalue
- The new value of the propertypublic java.lang.String getPropertyValue()
getPropertyValue.
String
object.public void set(java.lang.Object value)
value
- The new value of the propertypublic void setProperty(java.lang.Object value)
value
- The new value of the propertypublic java.lang.String toString()
toString
in class java.lang.Enum<SystemProperty>