fr.cnes.sitools.userstorage.model
Enum Action

java.lang.Object
  extended by java.lang.Enum<Action>
      extended by fr.cnes.sitools.userstorage.model.Action
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Action>

public enum Action
extends java.lang.Enum<Action>

Different resource actions

Author:
AKKA

Enum Constant Summary
CLEAN
          Clean action
NOTIFY
          Notify user action > mail
REFRESH
          refresh action
START
          Start action
STOP
          Stop action
 
Method Summary
 java.lang.String value()
          Get the label
static Action valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static 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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final Action START
Start action


STOP

public static final Action STOP
Stop action


REFRESH

public static final Action REFRESH
refresh action


CLEAN

public static final Action CLEAN
Clean action


NOTIFY

public static final Action NOTIFY
Notify user action > mail

Method Detail

values

public static 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 (Action c : 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 Action 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

value

public java.lang.String value()
Get the label

Returns:
the Action's label


Copyright © 2010-2013 CNES. All Rights Reserved.