Interface Language

All Superinterfaces:
ExtensibleEnum

@Experimental @Immutable public interface Language extends ExtensibleEnum
Language.

This extensible enum has two defined values, NONE and JAVA_FAMILY, but can be extended by registering a org.apache.maven.api.spi.LanguageProvider.

Implementation must have equals() and hashCode() implemented, so implementations of this interface can be used as keys.

Since:
4.0.0
  • Field Details

    • NONE

      static final Language NONE
      The "none" language. It is not versioned, family is same to itself, and compatible with itself only. In turn, every Language implementation must be compatible with NONE language.
    • JAVA_FAMILY

      static final Language JAVA_FAMILY