Enum Class PluginHelper.ArtifactType

java.lang.Object
java.lang.Enum<PluginHelper.ArtifactType>
org.codelibs.fess.helper.PluginHelper.ArtifactType
All Implemented Interfaces:
Serializable, Comparable<PluginHelper.ArtifactType>, Constable
Enclosing class:
PluginHelper

public static enum PluginHelper.ArtifactType extends Enum<PluginHelper.ArtifactType>
Enumeration of different artifact types supported by Fess. Each type has a specific ID prefix used to identify artifacts of that type.
  • Enum Constant Details

  • Method Details

    • values

      public static PluginHelper.ArtifactType[] 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

      public static PluginHelper.ArtifactType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public String getId()
      Gets the ID prefix for this artifact type.
      Returns:
      the ID prefix
    • getType

      public static PluginHelper.ArtifactType getType(String name)
      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