com.jurismarches.vradi
Enum VradiServiceAction.ActionDefinition

java.lang.Object
  extended by java.lang.Enum<VradiServiceAction.ActionDefinition>
      extended by com.jurismarches.vradi.VradiServiceAction.ActionDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VradiServiceAction.ActionDefinition>
Enclosing class:
VradiServiceAction

public static enum VradiServiceAction.ActionDefinition
extends java.lang.Enum<VradiServiceAction.ActionDefinition>

Actions can be called in command line

Author:
sletellier

Enum Constant Summary
DELETE_OBSELETE_THESAURUS
           
FORCE_ALL_OLD_USER_ENABLE
           
REINDEX_SOLR
           
REINIT_STATUS
           
 
Field Summary
 java.lang.String action
           
 java.lang.String[] aliases
           
 
Method Summary
 java.lang.String getAction()
           
 java.lang.String[] getAliases()
           
static VradiServiceAction.ActionDefinition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VradiServiceAction.ActionDefinition[] 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

REINDEX_SOLR

public static final VradiServiceAction.ActionDefinition REINDEX_SOLR

DELETE_OBSELETE_THESAURUS

public static final VradiServiceAction.ActionDefinition DELETE_OBSELETE_THESAURUS

REINIT_STATUS

public static final VradiServiceAction.ActionDefinition REINIT_STATUS

FORCE_ALL_OLD_USER_ENABLE

public static final VradiServiceAction.ActionDefinition FORCE_ALL_OLD_USER_ENABLE
Field Detail

action

public java.lang.String action

aliases

public java.lang.String[] aliases
Method Detail

values

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

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

valueOf

public static VradiServiceAction.ActionDefinition 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

getAction

public java.lang.String getAction()

getAliases

public java.lang.String[] getAliases()


Copyright © 2009-2010 JurisMarches. All Rights Reserved.