Interface ExtensibleEnum

All Known Subinterfaces:
Language, Lifecycle, Packaging, PathScope, ProjectScope, Type
All Known Implementing Classes:
DefaultType, DefaultType

@Experimental public interface ExtensibleEnum
Interface that defines some kind of enums that can be extended by Maven plugins or extensions. Implementation must have equals() and hashCode() implemented, so implementations of this interface can be used as keys.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    The id uniquely represents a value for this extensible enum.
  • Method Details

    • id

      The id uniquely represents a value for this extensible enum. This id should be used to compute the equality and hash code for the instance.
      Returns:
      the id