|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PriorityMeasureType> edu.nrao.sss.model.project.scheduling.priority.PriorityMeasureType
public enum PriorityMeasureType
Methods for combining priorities to obtain a single number representing the overall priority.
Enum Constant Summary | |
---|---|
WEIGHTED_SUM_OF_PRIORITIES
Calculates the sum of the priorities multiplied by their weights and divides by the total weight of all the priorities. |
Method Summary | |
---|---|
static PriorityMeasureType |
fromString(String text)
Returns the priority measure type represented by text . |
static PriorityMeasureType |
getDefault()
Returns a default priority measure type. |
String |
toString()
Returns a text representation of this enumeration constant. |
static PriorityMeasureType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PriorityMeasureType[] |
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 PriorityMeasureType WEIGHTED_SUM_OF_PRIORITIES
Method Detail |
---|
public static PriorityMeasureType[] values()
for (PriorityMeasureType c : PriorityMeasureType.values()) System.out.println(c);
public static PriorityMeasureType 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 PriorityMeasureType getDefault()
public String toString()
toString
in class Enum<PriorityMeasureType>
public static PriorityMeasureType fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a priority measure type.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |