Package org.codelibs.fess.helper
Enum PluginHelper.ArtifactType
- java.lang.Object
-
- java.lang.Enum<PluginHelper.ArtifactType>
-
- org.codelibs.fess.helper.PluginHelper.ArtifactType
-
- All Implemented Interfaces:
Serializable,Comparable<PluginHelper.ArtifactType>
- Enclosing class:
- PluginHelper
public static enum PluginHelper.ArtifactType extends Enum<PluginHelper.ArtifactType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()static PluginHelper.ArtifactTypegetType(String name)static PluginHelper.ArtifactTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PluginHelper.ArtifactType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA_STORE
public static final PluginHelper.ArtifactType DATA_STORE
-
THEME
public static final PluginHelper.ArtifactType THEME
-
INGEST
public static final PluginHelper.ArtifactType INGEST
-
SCRIPT
public static final PluginHelper.ArtifactType SCRIPT
-
WEBAPP
public static final PluginHelper.ArtifactType WEBAPP
-
UNKNOWN
public static final PluginHelper.ArtifactType UNKNOWN
-
-
Method Detail
-
values
public static PluginHelper.ArtifactType[] 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 (PluginHelper.ArtifactType c : PluginHelper.ArtifactType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginHelper.ArtifactType 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 nameNullPointerException- if the argument is null
-
getId
public String getId()
-
getType
public static PluginHelper.ArtifactType getType(String name)
-
-