Package org.codelibs.fess.helper
Enum Class PluginHelper.ArtifactType
- All Implemented Interfaces:
Serializable,Comparable<PluginHelper.ArtifactType>,Constable
- Enclosing class:
PluginHelper
Enumeration of different artifact types supported by Fess.
Each type has a specific ID prefix used to identify artifacts of that type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the ID prefix for this artifact type.static PluginHelper.ArtifactTypeDetermines the artifact type based on the artifact name.static PluginHelper.ArtifactTypeReturns the enum constant of this class with the specified name.static PluginHelper.ArtifactType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATA_STORE
Data store plugins -
THEME
Theme plugins -
INGEST
Ingest processor plugins -
SCRIPT
Script plugins -
WEBAPP
Web application plugins -
THUMBNAIL
Thumbnail generator plugins -
CRAWLER
Crawler plugins -
LLM
LLM plugins -
UNKNOWN
Unknown/generic JAR files
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
Gets the ID prefix for this artifact type.- Returns:
- the ID prefix
-
getType
Determines the artifact type based on the artifact name.- Parameters:
name- the name of the artifact- Returns:
- the corresponding artifact type, or UNKNOWN if no match is found
-