4.1

Table Of Contents
ConfigurationError.Severity Enumeration
The ConfigurationError class uses the ConfigurationError.Severity enumeration to set the level of severity
of configuration errors.
public static enum ConfigurationError.Severity
extends java.lang.Enum<ConfigurationError.Severity>
implements java.io.Serializable
The ConfigurationError.Severity enumeration defines the following constant values for error levels:
n
public static final ConfigurationError.Severity Info
n
public static final ConfigurationError.Severity Warning
n
public static final ConfigurationError.Severity Error
The ConfigurationError.Severity enumeration defines the following methods.
Method Returns Description
values() public static
ConfigurationError.Severity[]
Returns an array containing the
constants of this enumeration type, in
the order that the plug-in declares them.
You can use this method to iterate
through the constants as follows:
for (
ConfigurationError.Severity
c :
ConfigurationError.Severity.
values())
System.out.println(c);
valueOf(java.lang.String name) java.lang.String name
Returns the constant value of an
enumeration with the specified name.
The string must match an identifier that
you use to declare an enumeration
constant in this type. Extraneous
whitespace characters are not
permitted.
The name parameter is the name of the
enumeration constant to return.
public int getValue() int
Returns the value of the error.
The ConfigurationError.Severity enumeration inherits the following methods from class java.lang.Enum:
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
ErrorLevel Enumeration
The ErrorLevel enumeration defines constant values for different levels of error that a plug-in encounters.
public enum HasChildrenResult
extends java.lang.Enum<HasChildrenResult>
implements java.io.Serializable
The ErrorLevel enumeration defines the following constant values for error levels:
n
public static final ErrorLevel Fatal
n
public static final ErrorLevel Error
n
public static final ErrorLevel Warning
Chapter 7 Developing Plug-Ins
VMware, Inc. 221