Package org.gradle.tooling.model.idea
Interface IdeaJavaLanguageSettings
public interface IdeaJavaLanguageSettings
Describes Java language settings for an IDEA module.
- Since:
- 2.11
-
Method Summary
Modifier and TypeMethodDescriptiongetJdk()
Returns the JDK used for building.Returns the Java language level.Returns the target bytecode level.
-
Method Details
-
getLanguageLevel
JavaVersion getLanguageLevel()Returns the Java language level.- Returns:
- The language level, or
null
if this value should be inherited.
-
getTargetBytecodeVersion
Returns the target bytecode level.- Returns:
- The target bytecode language level, or
null
if this value should be inherited. - Throws:
UnsupportedMethodException
- For provider Gradle versions older than 2.11, where this method is not supported.
-
getJdk
Returns the JDK used for building.- Returns:
- The JDK, or
null
if this value should be inherited. - Throws:
UnsupportedMethodException
- For provider Gradle versions older than 2.11, where this method is not supported.
-