org.netbeans.modules.autoupdate.services 1.16.1

org.netbeans.api.autoupdate
Enum OperationException.ERROR_TYPE

java.lang.Object
  extended by java.lang.Enum<OperationException.ERROR_TYPE>
      extended by org.netbeans.api.autoupdate.OperationException.ERROR_TYPE
All Implemented Interfaces:
Serializable, Comparable<OperationException.ERROR_TYPE>
Enclosing class:
OperationException

public static enum OperationException.ERROR_TYPE
extends Enum<OperationException.ERROR_TYPE>

Define the failure


Enum Constant Summary
ENABLE
          Activation of plugin failed
INSTALL
          Installation of plugin failed
INSTALLER
          Installation of custom component failed
PROXY
          Problem with proxy configuration
UNINSTALL
          Uninstallation of plugin failed
 
Method Summary
static OperationException.ERROR_TYPE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperationException.ERROR_TYPE[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PROXY

public static final OperationException.ERROR_TYPE PROXY
Problem with proxy configuration


INSTALLER

public static final OperationException.ERROR_TYPE INSTALLER
Installation of custom component failed


INSTALL

public static final OperationException.ERROR_TYPE INSTALL
Installation of plugin failed


ENABLE

public static final OperationException.ERROR_TYPE ENABLE
Activation of plugin failed


UNINSTALL

public static final OperationException.ERROR_TYPE UNINSTALL
Uninstallation of plugin failed

Method Detail

values

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

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

valueOf

public static OperationException.ERROR_TYPE valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

org.netbeans.modules.autoupdate.services 1.16.1

Built on December 28 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.