org.gradle.tooling.model.build
Interface JavaEnvironment


public interface JavaEnvironment

Informs about the java environment, for example the java home or the jvm args used.

See example in BuildEnvironment

Since:
1.0-milestone-8

Method Summary
 File getJavaHome()
          The java home used for gradle operations (e.g.
 List<String> getJvmArguments()
          The jvm arguments used to start the java process that handles gradle operations (e.g.
 

Method Detail

getJavaHome

File getJavaHome()
The java home used for gradle operations (e.g. running tasks or acquiring model information, etc).


getJvmArguments

List<String> getJvmArguments()
The jvm arguments used to start the java process that handles gradle operations (e.g. running tasks or acquiring model information, etc).

The returned jvm arguments that were used to start the java process. They do not include system properties passed as -Dfoo=bar. They may include the implicitly immutable system properties like "file.encoding".