|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PriorityType> edu.nrao.sss.model.project.scheduling.priority.PriorityType
public enum PriorityType
An enumeration of priority types.
The list of priority types is based on an email from Barry Clark.
Enum Constant Summary | |
---|---|
CMP_SOFTWARE_PRIORITY
Barry uses this to put a weighting in to favor longer blocks slightly more than shorter blocks. |
|
MEAN_REFEREE_PRIORITY
Barry puts this one in because he considers it to be a more fine grained than the PSC rating, even though they both tend to be similar. |
|
PROJECT_PRIORITY
A relative priority withen the project that indicates the importance of the scheduling block compared to other scheduling blocks in the project. |
|
PROPOSAL_SELECTION_COMMITTEE_PRIORITY
This usually follows the refreee ratings pretty well. |
|
SP_SCHEDULER_PRIORITY
Reserved for the scheduler to type in a number if he knows something the software doesn't about the urgency of getting the scheduling block done. |
Method Summary | |
---|---|
static PriorityType |
fromString(String text)
Returns the priority type represented by text . |
static PriorityType |
getDefault()
Returns a default priority type. |
String |
getDescription()
|
String |
toString()
Returns a text representation of this enumeration constant. |
static PriorityType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PriorityType[] |
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 PriorityType MEAN_REFEREE_PRIORITY
public static final PriorityType PROPOSAL_SELECTION_COMMITTEE_PRIORITY
public static final PriorityType CMP_SOFTWARE_PRIORITY
public static final PriorityType SP_SCHEDULER_PRIORITY
public static final PriorityType PROJECT_PRIORITY
Method Detail |
---|
public static PriorityType[] values()
for (PriorityType c : PriorityType.values()) System.out.println(c);
public static PriorityType 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 String getDescription()
public static PriorityType getDefault()
public String toString()
toString
in class Enum<PriorityType>
public static PriorityType 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 |