|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PriorityComponent>
com.ace.moab.api.node.PriorityComponent
public enum PriorityComponent
Represents the various options that can be used to create a NodePriorityFunction or FunctionExpression. This class also determines the value for the given component for any MoabNode input parameter.
Method Summary | |
---|---|
static java.util.Vector<java.lang.String> |
getAvailableNames()
Returns a vector of available priority attributes for a node priority function. |
com.moab.api.node.NodeTableColumn |
getColumn()
Gets the corresponding column in the NodeTableColumn class. |
java.lang.String |
getMoabName()
Gets the moab-parseable name of the attribute. |
java.lang.String |
getName()
Gets the human-readable column name of the attribute. |
java.lang.Object |
getValue(MoabNode node)
Gets the value for this priority component. |
static PriorityComponent |
parseName(java.lang.String name)
Parses a string to a priority component attribute. |
static PriorityComponent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PriorityComponent[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PriorityComponent ADISK
public static final PriorityComponent AMEM
public static final PriorityComponent APROCS
public static final PriorityComponent ASWAP
public static final PriorityComponent CDISK
public static final PriorityComponent CMEM
public static final PriorityComponent CPROCS
public static final PriorityComponent CSWAP
public static final PriorityComponent GMETRIC01
public static final PriorityComponent GMETRIC02
public static final PriorityComponent GMETRIC03
public static final PriorityComponent GMETRIC04
public static final PriorityComponent GMETRIC05
public static final PriorityComponent GMETRIC06
public static final PriorityComponent GMETRIC07
public static final PriorityComponent GMETRIC08
public static final PriorityComponent GMETRIC09
public static final PriorityComponent GMETRIC10
public static final PriorityComponent GMETRIC11
public static final PriorityComponent GMETRIC12
public static final PriorityComponent GMETRIC13
public static final PriorityComponent GMETRIC14
public static final PriorityComponent GMETRIC15
public static final PriorityComponent GMETRIC16
public static final PriorityComponent GMETRIC17
public static final PriorityComponent GMETRIC18
public static final PriorityComponent GMETRIC19
public static final PriorityComponent GMETRIC20
public static final PriorityComponent GMETRIC21
public static final PriorityComponent GMETRIC22
public static final PriorityComponent GMETRIC23
public static final PriorityComponent GMETRIC24
public static final PriorityComponent GMETRIC25
public static final PriorityComponent GMETRIC26
public static final PriorityComponent GMETRIC27
public static final PriorityComponent GMETRIC28
public static final PriorityComponent GMETRIC29
public static final PriorityComponent GMETRIC30
public static final PriorityComponent GMETRIC31
public static final PriorityComponent LOAD
public static final PriorityComponent PRIORITY
Method Detail |
---|
public static final PriorityComponent[] values()
for(PriorityComponent c : PriorityComponent.values()) System.out.println(c);
public static PriorityComponent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getName()
public java.lang.String getMoabName()
public static java.util.Vector<java.lang.String> getAvailableNames()
public java.lang.Object getValue(MoabNode node)
node
- The node with the values
public com.moab.api.node.NodeTableColumn getColumn()
public static PriorityComponent parseName(java.lang.String name) throws java.text.ParseException
NodeTableColumn columnName
attribute) or parses the Moab name.
name
- The name of the attribute in either human readable or Moab
formats.
java.text.ParseException
- If no corresponding component is found, this exception is
thrown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |