com.sun.electric.tool
Enum Job.Priority

java.lang.Object
  extended by java.lang.Enum<Job.Priority>
      extended by com.sun.electric.tool.Job.Priority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Job.Priority>
Enclosing class:
Job

public static enum Job.Priority
extends java.lang.Enum<Job.Priority>

Priority is a typesafe enum class that describes the priority of a job.


Enum Constant Summary
ANALYSIS
          Lowest priority: analysis.
INVISCHANGES
          Next lower priority: invisible changes.
USER
          The highest priority: from the user.
VISCHANGES
          Next lower priority: visible changes.
 
Method Summary
static Job.Priority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Job.Priority[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

USER

public static final Job.Priority USER
The highest priority: from the user.


VISCHANGES

public static final Job.Priority VISCHANGES
Next lower priority: visible changes.


INVISCHANGES

public static final Job.Priority INVISCHANGES
Next lower priority: invisible changes.


ANALYSIS

public static final Job.Priority ANALYSIS
Lowest priority: analysis.

Method Detail

values

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

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

valueOf

public static Job.Priority 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
java.lang.NullPointerException - if the argument is null