|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SchedulingConstraint> edu.nrao.sss.model.project.SchedulingConstraint
public enum SchedulingConstraint
Constraints related to scheduling an observation.
A constraint of NONE
means that there are no constraints
related to scheduling a given object for observation. All other
elements of this enumeration indicate there is some reason why
the object cannot be scheduled.
Version Info:
$Revision: 1417 $ |
$Date: 2008-07-16 10:15:30 -0600 (Wed, 16 Jul 2008) $ |
$Author: dharland $ (last person to modify) |
Enum Constant Summary | |
---|---|
ATMOSPHERIC_PHASE
|
|
IONOSPHERIC_PHASE
|
|
NEAR_SUNRISE
|
|
NEAR_SUNSET
|
|
NONE
|
|
OTHER
|
|
PREREQUISITE
|
|
SCHEDULING_STATUS
|
|
SOLAR_SEPARATION
|
|
TIME
|
|
WEATHER
Deprecated. |
|
WIND_SPEED
|
Method Summary | |
---|---|
static SchedulingConstraint |
fromString(String text)
Returns the scheduling constraint represented by text . |
static SchedulingConstraint |
getDefault()
Returns a default scheduling constraint. |
String |
toString()
Returns a text representation of this enumeration constant. |
static SchedulingConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SchedulingConstraint[] |
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 SchedulingConstraint NONE
@Deprecated public static final SchedulingConstraint WEATHER
public static final SchedulingConstraint WIND_SPEED
public static final SchedulingConstraint ATMOSPHERIC_PHASE
public static final SchedulingConstraint IONOSPHERIC_PHASE
public static final SchedulingConstraint SOLAR_SEPARATION
public static final SchedulingConstraint NEAR_SUNRISE
public static final SchedulingConstraint NEAR_SUNSET
public static final SchedulingConstraint TIME
public static final SchedulingConstraint PREREQUISITE
public static final SchedulingConstraint SCHEDULING_STATUS
public static final SchedulingConstraint OTHER
Method Detail |
---|
public static SchedulingConstraint[] values()
for (SchedulingConstraint c : SchedulingConstraint.values()) System.out.println(c);
public static SchedulingConstraint 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 SchedulingConstraint getDefault()
public String toString()
toString
in class Enum<SchedulingConstraint>
public static SchedulingConstraint fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a scheduling constraint.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |