Interface PropertyKey

All Known Implementing Classes:
MvnProperties, Project.Properties

public interface PropertyKey
The Interface defines the type used as key for a Project's properties. Implementations of this interface should extends Enum. See Project.Properties for an example.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    The property's default value.
    The property's name.
    default Class<?>
    The property's type.
  • Method Details

    • name

      The property's name.
      Returns:
      the string
    • type

      default Class<?> type()
      The property's type. Returns Object.class if the default value is null.
      Returns:
      the class
    • defaultValue

      <T> T defaultValue()
      The property's default value. This value must not be null.
      Type Parameters:
      T - the generic type
      Returns:
      the object