com.ace.moab.api.jobs
Enum JobFlag

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

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

This enumeration specifies the Job flag types of a job.


Enum Constant Summary
ADVRES
          The job requires use of a reservation.
ARRAYJOB
          The job will share reserved resources.
BACKFILL
          The job is using backfill to run.
BENCHMARK
          The job is a benchmarking job using for allocating local resources.
BESTEFFORT
          The job will succeed if even partial resources are available.
BYNAME
          The job can be controlled by it's user specified job name.
CLUSTERLOCKED
          The job is locked into the current cluster and cannot be migrated elsewhere.
COALLOC
          The job can use resources from multiple resource managers and partitions.
DYNAMIC
          The job is dynamic and therefore can grow and shrink over time.
FRAGMENT
          The job can be run across multiple nodes in individual chunks.
FSVIOLATION
          The job was started with a fairshare violation.
GLOBALQUEUE
          The job is directly submitted without doing any authentication.
IGNIDLEJOBRSV
          The job can ignore idle job reservations.
IGNNODEPOLICIES
          The job will ignore node policies.
IGNNODESTATE
          The job will ignore node state in order to run.
IGNPOLICIES
          The job will ignore idle, active, class, partition, and system policies.
INTERACTIVE
          The job needs to interactive input from the user to run.
NOQUEUE
          The job will attempt to execute immediately or fail.
NORESOURCES
          The job is a system job that does not need any resources.
NORMSTART
          The job will not query a resource manager to run.
PREEMPTED
          The job has been preempted in its lifecycle.
PREEMPTEE
          The job is a preemptee and therefore can be preempted by other jobs.
PREEMPTOR
          The job is a preemptor and therefore can preempt other jobs.
RESTARTABLE
          The job is restartable.
RSVMAP
          The job is based on some reservation.
SPVIOLATION
          The job was started with a soft policy violation.
SUSPENDABLE
          The job is suspendable.
SYSTEMJOB
          The job is a system job which simply runs on the same node that Moab is running on.
TEST
          The job is a diagnostics test job.
 
Method Summary
static JobFlag parseString(java.lang.String string)
          Attempts to parse a string and convert it into a corresponding JobFlag enum value.
static JobFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JobFlag[] 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

BENCHMARK

public static final JobFlag BENCHMARK
The job is a benchmarking job using for allocating local resources.


BACKFILL

public static final JobFlag BACKFILL
The job is using backfill to run.


COALLOC

public static final JobFlag COALLOC
The job can use resources from multiple resource managers and partitions.


ADVRES

public static final JobFlag ADVRES
The job requires use of a reservation.


NOQUEUE

public static final JobFlag NOQUEUE
The job will attempt to execute immediately or fail.


ARRAYJOB

public static final JobFlag ARRAYJOB
The job will share reserved resources.


BYNAME

public static final JobFlag BYNAME
The job can be controlled by it's user specified job name.


BESTEFFORT

public static final JobFlag BESTEFFORT
The job will succeed if even partial resources are available.


RESTARTABLE

public static final JobFlag RESTARTABLE
The job is restartable.


SUSPENDABLE

public static final JobFlag SUSPENDABLE
The job is suspendable.


PREEMPTED

public static final JobFlag PREEMPTED
The job has been preempted in its lifecycle.


PREEMPTEE

public static final JobFlag PREEMPTEE
The job is a preemptee and therefore can be preempted by other jobs.


PREEMPTOR

public static final JobFlag PREEMPTOR
The job is a preemptor and therefore can preempt other jobs.


RSVMAP

public static final JobFlag RSVMAP
The job is based on some reservation.


SPVIOLATION

public static final JobFlag SPVIOLATION
The job was started with a soft policy violation.


IGNNODEPOLICIES

public static final JobFlag IGNNODEPOLICIES
The job will ignore node policies.


IGNPOLICIES

public static final JobFlag IGNPOLICIES
The job will ignore idle, active, class, partition, and system policies.


IGNNODESTATE

public static final JobFlag IGNNODESTATE
The job will ignore node state in order to run.


IGNIDLEJOBRSV

public static final JobFlag IGNIDLEJOBRSV
The job can ignore idle job reservations. The job granted access to all idle job reservations.


INTERACTIVE

public static final JobFlag INTERACTIVE
The job needs to interactive input from the user to run.


FSVIOLATION

public static final JobFlag FSVIOLATION
The job was started with a fairshare violation.


GLOBALQUEUE

public static final JobFlag GLOBALQUEUE
The job is directly submitted without doing any authentication.


NORESOURCES

public static final JobFlag NORESOURCES
The job is a system job that does not need any resources.


NORMSTART

public static final JobFlag NORMSTART
The job will not query a resource manager to run.


DYNAMIC

public static final JobFlag DYNAMIC
The job is dynamic and therefore can grow and shrink over time.


TEST

public static final JobFlag TEST
The job is a diagnostics test job.


CLUSTERLOCKED

public static final JobFlag CLUSTERLOCKED
The job is locked into the current cluster and cannot be migrated elsewhere. This is for grid mode.


FRAGMENT

public static final JobFlag FRAGMENT
The job can be run across multiple nodes in individual chunks.


SYSTEMJOB

public static final JobFlag SYSTEMJOB
The job is a system job which simply runs on the same node that Moab is running on. This is usually used for running scripts and other executables in workflows.

Method Detail

values

public static final JobFlag[] 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(JobFlag c : JobFlag.values())
        System.out.println(c);

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

valueOf

public static JobFlag 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

parseString

public static JobFlag parseString(java.lang.String string)
                           throws java.text.ParseException
Attempts to parse a string and convert it into a corresponding JobFlag enum value.

Parameters:
string - the string to parse into a corresponding JobFlag enum value.
Returns:
the corresponding JobFlag enum value.
Throws:
java.text.ParseException - thrown if the string cannot be parsed into a respective JobFlag.


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