com.ace.moab.api.jobs
Enum DynamicJobAttribute

java.lang.Object
  extended by java.lang.Enum<DynamicJobAttribute>
      extended by com.ace.moab.api.jobs.DynamicJobAttribute
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DynamicJobAttribute>

public enum DynamicJobAttribute
extends java.lang.Enum<DynamicJobAttribute>


Enum Constant Summary
ALLOC_DELAY
          Allocation delay
ALLOC_SIZE
          Allocation size
BACKLOG
          Target application backlog
NODE
          Node range
PROC
          Processor range
RESCPULOAD
          ?
RESMEMLOAD
          ?
RESNETLOAD
          ?
RESPONSETIME
          Target application response time
THROUGHPUT
          Target application throughput
TLOAD
          Target application load
 
Method Summary
 java.lang.String getMoabName()
           
 java.lang.Class<? extends java.lang.Number> getNumberClass()
           
static DynamicJobAttribute parseXMLString(java.lang.String tagName)
          Attempts to parse a tag name to the appropriate Dynamic Attribute.
 java.lang.String toCommandString()
           
 java.lang.String toHumanString()
           
 java.lang.String toString()
           
static DynamicJobAttribute valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DynamicJobAttribute[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALLOC_DELAY

public static final DynamicJobAttribute ALLOC_DELAY
Allocation delay


ALLOC_SIZE

public static final DynamicJobAttribute ALLOC_SIZE
Allocation size


BACKLOG

public static final DynamicJobAttribute BACKLOG
Target application backlog


NODE

public static final DynamicJobAttribute NODE
Node range


PROC

public static final DynamicJobAttribute PROC
Processor range


RESPONSETIME

public static final DynamicJobAttribute RESPONSETIME
Target application response time


THROUGHPUT

public static final DynamicJobAttribute THROUGHPUT
Target application throughput


RESCPULOAD

public static final DynamicJobAttribute RESCPULOAD
?


RESMEMLOAD

public static final DynamicJobAttribute RESMEMLOAD
?


RESNETLOAD

public static final DynamicJobAttribute RESNETLOAD
?


TLOAD

public static final DynamicJobAttribute TLOAD
Target application load

Method Detail

values

public static final DynamicJobAttribute[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DynamicJobAttribute c : DynamicJobAttribute.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DynamicJobAttribute valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getNumberClass

public java.lang.Class<? extends java.lang.Number> getNumberClass()

getMoabName

public java.lang.String getMoabName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<DynamicJobAttribute>

toCommandString

public java.lang.String toCommandString()

toHumanString

public java.lang.String toHumanString()

parseXMLString

public static DynamicJobAttribute parseXMLString(java.lang.String tagName)
Attempts to parse a tag name to the appropriate Dynamic Attribute. If the moabName or the command name do not match one of the dynamic attribute values, null is returned.

Parameters:
tagName - The string representing a dynamic job attribute
Returns:
A DynamicJobAttribute whose moabName or commandString are equal to that of the tagName input parameter.


Copyright © 2001-2009 Cluster Resources, Inc. All Rights Reserved.