|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ProjectType> edu.nrao.sss.model.project.ProjectType
public enum ProjectType
An enumeration of project types.
The list of project types is based on an email from Barry Clark to evla-sw-discuss@nrao.edu on 2005-11-17. It was then modified based on an email reply from B.Clark to D.Harland on 2008-01-10 regarding the overlap between ProjectType and SchedulingType.
Version Info:
$Revision: 1233 $ |
$Date: 2008-04-22 09:25:07 -0600 (Tue, 22 Apr 2008) $ |
$Author: dharland $ |
Enum Constant Summary | |
---|---|
ADJUST
Denotes an adjustable project. |
|
LARGE
Denotes a large project. |
|
MULTICONFIG
Denotes a project that uses multiple array configurations. |
|
SIMPLE
Denotes a simple project. |
Method Summary | |
---|---|
static ProjectType |
fromString(String text)
Returns the project type represented by text . |
static ProjectType |
getDefault()
Returns a default project type. |
String |
toString()
Returns a text representation of this enumeration constant. |
static ProjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProjectType[] |
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 ProjectType SIMPLE
public static final ProjectType LARGE
Find permitted scheduling density. Priority becomes low if recent observations at the current LST total more than permitted density. (So other projects can get a little time spread through the configuration.)
-- Barry Clark, from email to D.Harland, 2008-Jan-10
public static final ProjectType ADJUST
Most projects will, in the scheduling process, receive an extra priority boost to finish up allocated time. ADJUSTable ones do not. (All time is welcome, and is useful without the whole lot.)
-- Barry Clark, from email to D.Harland, 2008-Jan-10
public static final ProjectType MULTICONFIG
If scheduled observing time in previous configurations is greater than requested for this configuration, increase scheduling priority to get it finished.
-- Barry Clark, from email to D.Harland, 2008-Jan-10
Method Detail |
---|
public static ProjectType[] values()
for (ProjectType c : ProjectType.values()) System.out.println(c);
public static ProjectType 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 ProjectType getDefault()
public String toString()
toString
in class Enum<ProjectType>
public static ProjectType fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a project type.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |