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.
    • RESOURCES

      static final Language RESOURCES
      The "resources" language. This is used for files such as images to provide in the output.
    • SCRIPT

      @Deprecated static final Language SCRIPT
      Deprecated.
      Use RESOURCES instead.
      The "script" language. Provided for compatibility with Maven 3.
    • JAVA_FAMILY

      static final Language JAVA_FAMILY