com.google.gwt.user.rebind.rpc
Enum ProblemReport.Priority

java.lang.Object
  extended by java.lang.Enum<ProblemReport.Priority>
      extended by com.google.gwt.user.rebind.rpc.ProblemReport.Priority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProblemReport.Priority>
Enclosing class:
ProblemReport

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

Priority of problems. FATAL problems will fail a build that would otherwise have succeeded, for example because of a bad custom serializer used only as a subclass of a superclass with other viable subtypes. DEFAULT problems might or might not be fatal, depending on overall results accumulated later. AUXILIARY problems are not fatal, and often not even problems by themselves, but diagnostics related to default problems (e.g. type filtration, which might suppress an intended-to-serialize class).


Enum Constant Summary
AUXILIARY
           
DEFAULT
           
FATAL
           
 
Method Summary
static ProblemReport.Priority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProblemReport.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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FATAL

public static final ProblemReport.Priority FATAL

DEFAULT

public static final ProblemReport.Priority DEFAULT

AUXILIARY

public static final ProblemReport.Priority AUXILIARY
Method Detail

values

public static ProblemReport.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 (ProblemReport.Priority c : ProblemReport.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 ProblemReport.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