|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConstraintType> edu.nrao.sss.model.project.scheduling.constraint.ConstraintType
public enum ConstraintType
An enumeration of operating conditions that may affect the probability of a scheduling achieving its scientific goals.
Enum Constant Summary | |
---|---|
API
Atmospheric Phase Interference. |
|
POSITION_ELEVATION
The sine of the current elevation of the target or 0 if the target is not currently visible. |
|
POSITION_MAXIMUM
The absolute value of the difference between the current LST and the LST at the maximum elevation is computed. |
|
WIND
Wind speed. |
Method Summary | |
---|---|
static ConstraintType |
fromString(String text)
Returns the constraint type represented by text . |
static ConstraintType |
getDefault()
Returns a default constraint type. |
String |
toString()
Returns a text representation of this enumeration constant. |
static ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConstraintType WIND
public static final ConstraintType API
public static final ConstraintType POSITION_ELEVATION
public static final ConstraintType POSITION_MAXIMUM
Method Detail |
---|
public static ConstraintType[] values()
for (ConstraintType c : ConstraintType.values()) System.out.println(c);
public static ConstraintType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ConstraintType getDefault()
public String toString()
toString
in class Enum<ConstraintType>
public static ConstraintType fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a priority type.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |