| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Diagnostic.UserSeverity>
com.bea.wli.config.resource.Diagnostic.UserSeverity
public static enum Diagnostic.UserSeverity
Describes the user visible severity of the diagnostic message. A user severity can take on only some of the values depending on the actual severity of the diagnostic. For example A severity of CannotCommit implies a user severity of Error, and other user severity levels cannot be used.
| Enum Constant Summary | |
|---|---|
| ErrorA diagnostic message that represents an error in resource data. | |
| InfoA Diagnostic message that provides user with useful information or hints about the resource. | |
| UpgradeA diagnostic message that is generated during import by the version upgrade process and gives more information about how the resource data has been upgraded. | |
| WarningA diagnostic message that warns the user that even though the resource data may be valid, it could cause certain problem when the resource is activated with this data. | |
| Method Summary | |
|---|---|
|  boolean | isCompatibleWith(Diagnostic.Severity s)Returns true if this UserSeverity is compatible with the given system severity | 
| static Diagnostic.UserSeverity | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Diagnostic.UserSeverity[] | values()Returns an array containing the constants of this enum type, in the order they're 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 | 
|---|
public static final Diagnostic.UserSeverity Info
Diagnostic.Severity.Valid
public static final Diagnostic.UserSeverity Upgrade
Diagnostic.Severity.Valid
public static final Diagnostic.UserSeverity Warning
Diagnostic.Severity.Valid
public static final Diagnostic.UserSeverity Error
Diagnostic.Severity.CannotCommit or Diagnostic.Severity.CannotCreate.
| Method Detail | 
|---|
public static final Diagnostic.UserSeverity[] values()
for(Diagnostic.UserSeverity c : Diagnostic.UserSeverity.values())
        System.out.println(c);
public static Diagnostic.UserSeverity valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean isCompatibleWith(Diagnostic.Severity s)
s - | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||