fr.inra.refcomp.services
Enum RefcompServiceActionDef
java.lang.Object
java.lang.Enum<RefcompServiceActionDef>
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
CLEAN_ADMIN
public static final RefcompServiceActionDef CLEAN_ADMIN
REINDEX_SOLR
public static final RefcompServiceActionDef REINDEX_SOLR
action
protected String action
description
protected String description
aliases
protected String[] aliases
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.