Annotation Type Property


@Deprecated
public @interface Property
Deprecated.
since 1.15.1 old plugin api
This annotation can be used to describe a single property for a plugin or a repository.
Since:
1.6
Author:
Nils Christian Ehmke
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    java.lang.String defaultValue
    Deprecated.
    The default value for the property.
    java.lang.String name
    Deprecated.
    The name of the property.
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    java.lang.String description
    Deprecated.
    This field can be used for a (short) description of the property's purpose.
    boolean updateable
    Deprecated.
    The definition whether a property can be updated while the plugin is used
  • Element Details

    • name

      java.lang.String name
      Deprecated.
      The name of the property.
      Returns:
      The name of the property.
    • defaultValue

      java.lang.String defaultValue
      Deprecated.
      The default value for the property.
      Returns:
      The default value for the property.
    • description

      java.lang.String description
      Deprecated.
      This field can be used for a (short) description of the property's purpose.
      Returns:
      The description of this property.
      Default:
      ""
    • updateable

      boolean updateable
      Deprecated.
      The definition whether a property can be updated while the plugin is used
      Returns:
      True if updateable on-the-fly, else false
      Default:
      false