Enum Class PluginType

java.lang.Object
java.lang.Enum<PluginType>
ch.so.agi.hop.doclint.model.PluginType
All Implemented Interfaces:
Serializable, Comparable<PluginType>, Constable

public enum PluginType extends Enum<PluginType>
Hop plugin element types understood by the linter.

v0.1 scans @Transform only. Action and metadata rules are already modelled so that support can be enabled without changing the validation core.

  • Enum Constant Details

    • TRANSFORM

      public static final PluginType TRANSFORM
    • ACTION

      public static final PluginType ACTION
    • METADATA

      public static final PluginType METADATA
  • Method Details

    • values

      public static PluginType[] 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 PluginType 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
    • scanned

      public static List<PluginType> scanned()
      Types that are currently discovered on the compiled classes.
    • id

      public String id()
    • docsSubdirectory

      public String docsSubdirectory()
    • annotationName

      public String annotationName()
    • requiredSections

      public List<String> requiredSections()
    • label

      public String label()