Enum TaskSchedulingType
- java.lang.Object
-
- java.lang.Enum<TaskSchedulingType>
-
- org.palladiosimulator.solver.lqn.TaskSchedulingType
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskSchedulingType>
,Enumerator
public enum TaskSchedulingType extends Enum<TaskSchedulingType> implements Enumerator
A representation of the literals of the enumeration ' Task Scheduling Type', and utility methods for working with them.- See Also:
LqnPackage.getTaskSchedulingType()
- Generated class or method.
- EMF model class or method.
- extendedMetaData="name='TaskSchedulingType'"
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BURST
The 'Burst' literal object.FCFS
The 'Fcfs' literal object.HOL
The 'Hol' literal object.INF
The 'Inf' literal object.POLL
The 'Poll' literal object.PRI
The 'Pri' literal object.REF
The 'Ref' literal object.RWLOCK
The 'Rwlock' literal object.SEMAPHORE
The 'Semaphore' literal object.UNIFORM
The 'Uniform' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
BURST_VALUE
The 'Burst' literal value.static int
FCFS_VALUE
The 'Fcfs' literal value.static int
HOL_VALUE
The 'Hol' literal value.static int
INF_VALUE
The 'Inf' literal value.static int
POLL_VALUE
The 'Poll' literal value.static int
PRI_VALUE
The 'Pri' literal value.static int
REF_VALUE
The 'Ref' literal value.static int
RWLOCK_VALUE
The 'Rwlock' literal value.static int
SEMAPHORE_VALUE
The 'Semaphore' literal value.static int
UNIFORM_VALUE
The 'Uniform' literal value.static List<TaskSchedulingType>
VALUES
A public read-only list of all the 'Task Scheduling Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskSchedulingType
get(int value)
Returns the 'Task Scheduling Type' literal with the specified integer value.static TaskSchedulingType
get(String literal)
Returns the 'Task Scheduling Type' literal with the specified literal value.static TaskSchedulingType
getByName(String name)
Returns the 'Task Scheduling Type' 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 TaskSchedulingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskSchedulingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REF
public static final TaskSchedulingType REF
The 'Ref' literal object.- See Also:
REF_VALUE
- Generated class or method.
- Ordered collection.
-
FCFS
public static final TaskSchedulingType FCFS
The 'Fcfs' literal object.- See Also:
FCFS_VALUE
- Generated class or method.
- Ordered collection.
-
PRI
public static final TaskSchedulingType PRI
The 'Pri' literal object.- See Also:
PRI_VALUE
- Generated class or method.
- Ordered collection.
-
HOL
public static final TaskSchedulingType HOL
The 'Hol' literal object.- See Also:
HOL_VALUE
- Generated class or method.
- Ordered collection.
-
BURST
public static final TaskSchedulingType BURST
The 'Burst' literal object.- See Also:
BURST_VALUE
- Generated class or method.
- Ordered collection.
-
UNIFORM
public static final TaskSchedulingType UNIFORM
The 'Uniform' literal object.- See Also:
UNIFORM_VALUE
- Generated class or method.
- Ordered collection.
-
POLL
public static final TaskSchedulingType POLL
The 'Poll' literal object.- See Also:
POLL_VALUE
- Generated class or method.
- Ordered collection.
-
INF
public static final TaskSchedulingType INF
The 'Inf' literal object.- See Also:
INF_VALUE
- Generated class or method.
- Ordered collection.
-
SEMAPHORE
public static final TaskSchedulingType SEMAPHORE
The 'Semaphore' literal object.- See Also:
SEMAPHORE_VALUE
- Generated class or method.
- Ordered collection.
-
RWLOCK
public static final TaskSchedulingType RWLOCK
The 'Rwlock' literal object.- See Also:
RWLOCK_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
REF_VALUE
public static final int REF_VALUE
The 'Ref' literal value.If the meaning of 'Ref' literal object isn't clear, there really should be more of a description here...
- See Also:
REF
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="ref"
- Ordered collection.
-
FCFS_VALUE
public static final int FCFS_VALUE
The 'Fcfs' literal value.If the meaning of 'Fcfs' literal object isn't clear, there really should be more of a description here...
- See Also:
FCFS
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="fcfs"
- Ordered collection.
-
PRI_VALUE
public static final int PRI_VALUE
The 'Pri' literal value.If the meaning of 'Pri' literal object isn't clear, there really should be more of a description here...
- See Also:
PRI
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="pri"
- Ordered collection.
-
HOL_VALUE
public static final int HOL_VALUE
The 'Hol' literal value.If the meaning of 'Hol' literal object isn't clear, there really should be more of a description here...
- See Also:
HOL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="hol"
- Ordered collection.
-
BURST_VALUE
public static final int BURST_VALUE
The 'Burst' literal value.If the meaning of 'Burst' literal object isn't clear, there really should be more of a description here...
- See Also:
BURST
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="burst"
- Ordered collection.
-
UNIFORM_VALUE
public static final int UNIFORM_VALUE
The 'Uniform' literal value.If the meaning of 'Uniform' literal object isn't clear, there really should be more of a description here...
- See Also:
UNIFORM
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="uniform"
- Ordered collection.
-
POLL_VALUE
public static final int POLL_VALUE
The 'Poll' literal value.If the meaning of 'Poll' literal object isn't clear, there really should be more of a description here...
- See Also:
POLL
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="poll"
- Ordered collection.
-
INF_VALUE
public static final int INF_VALUE
The 'Inf' literal value.If the meaning of 'Inf' literal object isn't clear, there really should be more of a description here...
- See Also:
INF
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="inf"
- Ordered collection.
-
SEMAPHORE_VALUE
public static final int SEMAPHORE_VALUE
The 'Semaphore' literal value.If the meaning of 'Semaphore' literal object isn't clear, there really should be more of a description here...
- See Also:
SEMAPHORE
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="semaphore"
- Ordered collection.
-
RWLOCK_VALUE
public static final int RWLOCK_VALUE
The 'Rwlock' literal value.If the meaning of 'Rwlock' literal object isn't clear, there really should be more of a description here...
- See Also:
RWLOCK
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="rwlock"
- Ordered collection.
-
VALUES
public static final List<TaskSchedulingType> VALUES
A public read-only list of all the 'Task Scheduling Type' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static TaskSchedulingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TaskSchedulingType c : TaskSchedulingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskSchedulingType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static TaskSchedulingType get(String literal)
Returns the 'Task Scheduling Type' literal with the specified literal value.- Generated class or method.
-
getByName
public static TaskSchedulingType getByName(String name)
Returns the 'Task Scheduling Type' literal with the specified name.- Generated class or method.
-
get
public static TaskSchedulingType get(int value)
Returns the 'Task Scheduling Type' literal with the specified integer value.- Generated class or method.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<TaskSchedulingType>
- Generated class or method.
-
-