fr.inra.refcomp.services
Enum RefcompServiceActionDef

java.lang.Object
  extended by java.lang.Enum<RefcompServiceActionDef>
      extended by fr.inra.refcomp.services.RefcompServiceActionDef
All Implemented Interfaces:
Serializable, Comparable<RefcompServiceActionDef>, org.nuiton.util.ApplicationConfig.ActionDef

public enum RefcompServiceActionDef
extends Enum<RefcompServiceActionDef>
implements org.nuiton.util.ApplicationConfig.ActionDef

User: couteau Date: 01/02/11


Enum Constant Summary
REINDEX_SOLR
           
 
Field Summary
protected  String action
           
protected  String[] aliases
           
protected  String description
           
 
Method Summary
 String getAction()
           
 String[] getAliases()
           
 String getDescription()
           
static RefcompServiceActionDef valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RefcompServiceActionDef[] 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 RefcompServiceActionDef REINDEX_SOLR
Field Detail

action

protected String action

description

protected String description

aliases

protected String[] aliases
Method Detail

values

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

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

valueOf

public static RefcompServiceActionDef 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

getAction

public String getAction()
Specified by:
getAction in interface org.nuiton.util.ApplicationConfig.ActionDef

getDescription

public String getDescription()

getAliases

public String[] getAliases()
Specified by:
getAliases in interface org.nuiton.util.ApplicationConfig.ActionDef


Copyright © 2010-2012 Code Lutin. All Rights Reserved.