org.xwiki.extension.job.plan
Enum ExtensionPlanAction.Action

java.lang.Object
  extended by java.lang.Enum<ExtensionPlanAction.Action>
      extended by org.xwiki.extension.job.plan.ExtensionPlanAction.Action
All Implemented Interfaces:
Serializable, Comparable<ExtensionPlanAction.Action>
Enclosing interface:
ExtensionPlanAction

public static enum ExtensionPlanAction.Action
extends Enum<ExtensionPlanAction.Action>

The action to execute.

Version:
$Id: ab0738570ecaf8e729e24e42f967c30056a1bf20 $

Enum Constant Summary
DOWNGRADE
          Downgrade the extension.
INSTALL
          Install the extension.
NONE
          Nothing to do.
UNINSTALL
          Uninstall the extension.
UPGRADE
          Upgrade the extension.
 
Method Summary
static ExtensionPlanAction.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExtensionPlanAction.Action[] 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

NONE

public static final ExtensionPlanAction.Action NONE
Nothing to do. Just here for information as why nothing is done here.


INSTALL

public static final ExtensionPlanAction.Action INSTALL
Install the extension.


UPGRADE

public static final ExtensionPlanAction.Action UPGRADE
Upgrade the extension.


DOWNGRADE

public static final ExtensionPlanAction.Action DOWNGRADE
Downgrade the extension.


UNINSTALL

public static final ExtensionPlanAction.Action UNINSTALL
Uninstall the extension.

Method Detail

values

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

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

valueOf

public static ExtensionPlanAction.Action 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


Copyright © 2004-2013 XWiki. All Rights Reserved.