|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SchedulingPolicy>
de.uka.ipd.sdq.pcm.resourceenvironment.SchedulingPolicy
public enum SchedulingPolicy
A representation of the literals of the enumeration 'Scheduling Policy', and utility methods for working with them.
ResourceenvironmentPackage.getSchedulingPolicy()| Enum Constant Summary | |
|---|---|
DELAY
The 'DELAY' literal object. |
|
FCFS
The 'FCFS' literal object. |
|
PROCESSOR_SHARING
The 'PROCESSOR SHARING' literal object. |
|
| Field Summary | |
|---|---|
static String |
copyright
|
static int |
DELAY_VALUE
The 'DELAY' literal value. |
static int |
FCFS_VALUE
The 'FCFS' literal value. |
static int |
PROCESSOR_SHARING_VALUE
The 'PROCESSOR SHARING' literal value. |
static List<SchedulingPolicy> |
VALUES
A public read-only list of all the 'Scheduling Policy' enumerators. |
| Method Summary | |
|---|---|
static SchedulingPolicy |
get(int value)
Returns the 'Scheduling Policy' literal with the specified integer value. |
static SchedulingPolicy |
get(String literal)
Returns the 'Scheduling Policy' literal with the specified literal value. |
static SchedulingPolicy |
getByName(String name)
Returns the 'Scheduling Policy' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static SchedulingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SchedulingPolicy[] |
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 SchedulingPolicy DELAY
DELAY_VALUEpublic static final SchedulingPolicy PROCESSOR_SHARING
PROCESSOR_SHARING_VALUEpublic static final SchedulingPolicy FCFS
FCFS_VALUE| Field Detail |
|---|
public static final String copyright
public static final int DELAY_VALUE
If the meaning of 'DELAY' literal object isn't clear, there really should be more of a description here...
DELAY,
Constant Field Valuespublic static final int PROCESSOR_SHARING_VALUE
If the meaning of 'PROCESSOR SHARING' literal object isn't clear, there really should be more of a description here...
PROCESSOR_SHARING,
Constant Field Valuespublic static final int FCFS_VALUE
If the meaning of 'FCFS' literal object isn't clear, there really should be more of a description here...
FCFS,
Constant Field Valuespublic static final List<SchedulingPolicy> VALUES
| Method Detail |
|---|
public static SchedulingPolicy[] values()
for (SchedulingPolicy c : SchedulingPolicy.values()) System.out.println(c);
public static SchedulingPolicy 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 SchedulingPolicy get(String literal)
public static SchedulingPolicy getByName(String name)
public static SchedulingPolicy get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString in class Enum<SchedulingPolicy>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||