IdeaJavaLanguageSettings (Gradle API 2.14)
Date: 2016-06-14

Package: org.gradle.tooling.model.idea

## [Java] Interface IdeaJavaLanguageSettings

- Describes Java language settings for an IDEA module.

  Since:
    2.11

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `InstalledJdk` | `getJdk()` Returns the JDK used for building.
    `JavaVersion` | `getLanguageLevel()` Returns the Java language level.
    `JavaVersion` | `getTargetBytecodeVersion()` Returns the target bytecode level.

- - ### Method Detail

    - #### public InstalledJdk getJdk()

      Returns the JDK used for building.

      throws:
        UnsupportedMethodException For provider Gradle versions older than 2.11, where this method is not supported.
      Returns:
        The JDK, or `null` if this value should be inherited.

    - #### public JavaVersion getLanguageLevel()

      Returns the Java language level.

      Returns:
        The language level, or `null` if this value should be inherited.

    - #### public JavaVersion getTargetBytecodeVersion()

      Returns the target bytecode level.

      throws:
        UnsupportedMethodException For provider Gradle versions older than 2.11, where this method is not supported.
      Returns:
        The target bytecode language level, or `null` if this value should be inherited.