com.sage.orion.sdata.servlet
Enum SDataDiagnosis.Severity

java.lang.Object
  extended by java.lang.Enum<SDataDiagnosis.Severity>
      extended by com.sage.orion.sdata.servlet.SDataDiagnosis.Severity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SDataDiagnosis.Severity>
Enclosing class:
SDataDiagnosis

public static enum SDataDiagnosis.Severity
extends java.lang.Enum<SDataDiagnosis.Severity>

Severity of the diagnosis entry


Enum Constant Summary
ERROR
          error: operation failed, request should be modified before resubmitting.
FATAL
          severe error: operation should not be re-attempted (and other operations are likely to fail too).
INFO
          informational message, does not require any special attention
TRANSIENT
          transient error: operation failed but may succeed later in the same condition (record locked for example)
WARNING
          warning message: does not prevent operation from succeeding but may require attention
 
Method Summary
 java.lang.String toString()
           
static SDataDiagnosis.Severity valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SDataDiagnosis.Severity[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO

public static final SDataDiagnosis.Severity INFO
informational message, does not require any special attention


WARNING

public static final SDataDiagnosis.Severity WARNING
warning message: does not prevent operation from succeeding but may require attention


TRANSIENT

public static final SDataDiagnosis.Severity TRANSIENT
transient error: operation failed but may succeed later in the same condition (record locked for example)


ERROR

public static final SDataDiagnosis.Severity ERROR
error: operation failed, request should be modified before resubmitting.


FATAL

public static final SDataDiagnosis.Severity FATAL
severe error: operation should not be re-attempted (and other operations are likely to fail too).

Method Detail

values

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

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

valueOf

public static SDataDiagnosis.Severity 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

toString

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


Copyright © 2011 Sage Software, Inc. All rights reserved.