Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.6.3)

E15033-08


com.bea.wli.config.resource
Enum Diagnostic.UserSeverity

java.lang.Object
  extended by java.lang.Enum<Diagnostic.UserSeverity>
      extended by com.bea.wli.config.resource.Diagnostic.UserSeverity

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Diagnostic.UserSeverity>
Enclosing class:
Diagnostic

public static enum Diagnostic.UserSeverity
extends java.lang.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
Error
          A diagnostic message that represents an error in resource data.
Info
          A Diagnostic message that provides user with useful information or hints about the resource.
Upgrade
          A diagnostic message that is generated during import by the version upgrade process and gives more information about how the resource data has been upgraded.
Warning
          A 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(java.lang.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 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

Info

public static final Diagnostic.UserSeverity Info
A Diagnostic message that provides user with useful information or hints about the resource. This user severity level implies that system severity is Diagnostic.Severity.Valid

Upgrade

public static final Diagnostic.UserSeverity Upgrade
A diagnostic message that is generated during import by the version upgrade process and gives more information about how the resource data has been upgraded. This user severity level implies that system severity is Diagnostic.Severity.Valid

Warning

public static final Diagnostic.UserSeverity Warning
A 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. This user severity level implies that system severity is Diagnostic.Severity.Valid

Error

public static final Diagnostic.UserSeverity Error
A diagnostic message that represents an error in resource data. This user severity level implies that the system severity is either Diagnostic.Severity.CannotCommit or Diagnostic.Severity.CannotCreate.

Method Detail

values

public static Diagnostic.UserSeverity[] 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 (Diagnostic.UserSeverity c : Diagnostic.UserSeverity.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Diagnostic.UserSeverity 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

isCompatibleWith

public boolean isCompatibleWith(Diagnostic.Severity s)
Returns true if this UserSeverity is compatible with the given system severity
Parameters:
s -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.6.3)

E15033-08


Copyright © 2008, 2012, Oracle. All rights reserved.