Klasse JavaExec
- Alle implementierten Schnittstellen:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.IConventionAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,BaseExecSpec,JavaExecSpec,JavaForkOptions,ProcessForkOptions,Configurable<Task>
Similar to Exec, but starts a JVM with the given classpath and application class.
plugins {
id 'java'
}
task runApp(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
mainClass = 'package.Main'
// arguments to pass to the application
args 'appArg1'
}
// Using and creating an Executable Jar
jar {
manifest {
attributes('Main-Class': 'package.Main')
}
}
task runExecutableJar(type: JavaExec) {
// Executable jars can have only _one_ jar on the classpath.
classpath = files(tasks.jar)
// 'main' does not need to be specified
// arguments to pass to the application
args 'appArg1'
}
The process can be started in debug mode (see getDebug()) in an ad-hoc manner by supplying the `--debug-jvm` switch when invoking the build.
gradle someJavaExecTask --debug-jvm
Also, debug configuration can be explicitly set in debugOptions(Action):
task runApp(type: JavaExec) {
...
debugOptions {
enabled = true
port = 5566
server = true
suspend = false
}
}
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Task
Task.Namer -
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAdds args for the main class to be executed.Adds args for the main class to be executed.bootstrapClasspath(Object... classpath) Adds the given values to the end of the bootstrap classpath for the process.Adds elements to the classpath for executing the main class.copyTo(JavaForkOptions options) Copies these options to the given options.copyTo(ProcessForkOptions target) Copies these options to the given target options.voiddebugOptions(Action<JavaDebugOptions> action) Configures Java Debug Wire Protocol properties for the process.environment(String name, Object value) Adds an environment variable to the environment for this process.environment(Map<String, ?> environmentVariables) Adds some environment variables to the environment for this process.voidexec()executable(Object executable) Sets the name of the executable to use.Returns the full set of arguments to use to launch the JVM for the process.getArgs()Returns the arguments passed to the main class to be executed.Argument providers for the application.Returns the bootstrap classpath to use for the process.Returns the classpath for executing the main class.Returns the full command line, including the executable plus its arguments.booleangetDebug()Determines whether debugging is enabled for the test process.Returns the Java Debug Wire Protocol properties for the process.Returns the default character encoding to use.booleanReturns true if assertions are enabled for the process.The environment variables to use for the process.Returns the output stream to consume standard error from the process executing the command.protected org.gradle.process.internal.ExecActionFactoryReturns the name of the executable to use.Returns the result for the command run by this task.Configures the java executable to be used to run the tests.protected JavaToolchainServiceReturns the version of the Java executable specified bygetJavaLauncher().Returns the extra arguments to use to launch the JVM for the process.Command line argument providers for the java process to fork.Extra JVM arguments to be to use to launch the JVM for the process.The fully qualified name of the Main class to be executed.The name of the main module to be executed if the application should run as a Java module.Returns the maximum heap size for the process, if any.Returns the minimum heap size for the process, if any.Returns the module path handling for executing the main class.protected ObjectFactoryprotected org.gradle.api.internal.provider.PropertyFactoryprotected ProviderFactoryReturns the standard input stream for the process executing the command.Returns the output stream to consume standard output from the process executing the command.Returns the system properties which will be used for the process.Returns the working directory for the process.booleanTells whether a non-zero exit value is ignored, or an exception thrown.Adds some arguments to use to launch the JVM for the process.Adds some arguments to use to launch the JVM for the process.voidsetAllJvmArgs(Iterable<?> arguments) Sets the full set of arguments to use to launch the JVM for the process.voidsetAllJvmArgs(List<String> arguments) Sets the full set of arguments to use to launch the JVM for the process.Sets the args for the main class to be executed.Sets the args for the main class to be executed.setArgsString(String args) Parses an argument list fromargsand passes it tosetArgs(List).voidsetBootstrapClasspath(FileCollection classpath) Sets the bootstrap classpath to use for the process.setClasspath(FileCollection classpath) Sets the classpath for executing the main class.voidsetDebug(boolean enabled) Enable or disable debugging for the process.voidsetDefaultCharacterEncoding(String defaultCharacterEncoding) Sets the default character encoding to use.voidsetEnableAssertions(boolean enabled) Enable or disable assertions for the process.voidsetEnvironment(Map<String, ?> environmentVariables) Sets the environment variable to use for the process.setErrorOutput(OutputStream outputStream) Sets the output stream to consume standard error from the process executing the command.voidsetExecutable(Object executable) Sets the name of the executable to use.voidsetExecutable(String executable) Sets the name of the executable to use.setIgnoreExitValue(boolean ignoreExitValue) Sets whether a non-zero exit value is ignored, or an exception thrown.voidsetJvmArgs(Iterable<?> arguments) Sets the extra arguments to use to launch the JVM for the process.voidsetJvmArgs(List<String> arguments) Sets the extra arguments to use to launch the JVM for the process.voidsetMaxHeapSize(String heapSize) Sets the maximum heap size for the process.voidsetMinHeapSize(String heapSize) Sets the minimum heap size for the process.setStandardInput(InputStream inputStream) Sets the standard input stream for the process executing the command.setStandardOutput(OutputStream outputStream) Sets the output stream to consume standard output from the process executing the command.voidsetSystemProperties(Map<String, ?> properties) Sets the system properties to use for the process.voidsetWorkingDir(File dir) Sets the working directory for the process.voidsetWorkingDir(Object dir) Sets the working directory for the process.systemProperties(Map<String, ?> properties) Adds some system properties to use for the process.systemProperty(String name, Object value) Adds a system property to use for the process.workingDir(Object dir) Sets the working directory for the process.Von Klasse geerbte Methoden org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMappingVon Klasse geerbte Methoden org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceVon Klasse geerbte Methoden org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.gradle.process.JavaExecSpec
setMainVon Schnittstelle geerbte Methoden org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Konstruktordetails
-
JavaExec
public JavaExec()
-
-
Methodendetails
-
exec
public void exec() -
getAllJvmArgs
Returns the full set of arguments to use to launch the JVM for the process. This includes arguments to define system properties, the minimum/maximum heap size, and the bootstrap classpath.- Angegeben von:
getAllJvmArgsin SchnittstelleJavaForkOptions- Gibt zurück:
- The immutable list of arguments. Returns an empty list if there are no arguments.
-
setAllJvmArgs
Sets the full set of arguments to use to launch the JVM for the process. Overwrites any previously set system properties, minimum/maximum heap size, assertions, and bootstrap classpath.- Angegeben von:
setAllJvmArgsin SchnittstelleJavaForkOptions- Parameter:
arguments- The arguments. Must not be null.
-
setAllJvmArgs
Sets the full set of arguments to use to launch the JVM for the process. Overwrites any previously set system properties, minimum/maximum heap size, assertions, and bootstrap classpath.- Angegeben von:
setAllJvmArgsin SchnittstelleJavaForkOptions- Parameter:
arguments- The arguments. Must not be null.
-
getJvmArgs
Returns the extra arguments to use to launch the JVM for the process. Does not include system properties and the minimum/maximum heap size.- Angegeben von:
getJvmArgsin SchnittstelleJavaForkOptions- Gibt zurück:
- The immutable list of arguments. Returns an empty list if there are no arguments.
-
setJvmArgs
Sets the extra arguments to use to launch the JVM for the process. System properties and minimum/maximum heap size are updated.- Angegeben von:
setJvmArgsin SchnittstelleJavaForkOptions- Parameter:
arguments- The arguments. Must not be null.
-
setJvmArgs
Sets the extra arguments to use to launch the JVM for the process. System properties and minimum/maximum heap size are updated.- Angegeben von:
setJvmArgsin SchnittstelleJavaForkOptions- Parameter:
arguments- The arguments. Must not be null.
-
jvmArgs
Adds some arguments to use to launch the JVM for the process.- Angegeben von:
jvmArgsin SchnittstelleJavaForkOptions- Parameter:
arguments- The arguments. Must not be null.- Gibt zurück:
- this
-
jvmArgs
Adds some arguments to use to launch the JVM for the process.- Angegeben von:
jvmArgsin SchnittstelleJavaForkOptions- Parameter:
arguments- The arguments.- Gibt zurück:
- this
-
getSystemProperties
Returns the system properties which will be used for the process.- Angegeben von:
getSystemPropertiesin SchnittstelleJavaForkOptions- Gibt zurück:
- The system properties. Returns an empty map when there are no system properties.
-
setSystemProperties
Sets the system properties to use for the process.- Angegeben von:
setSystemPropertiesin SchnittstelleJavaForkOptions- Parameter:
properties- The system properties. Must not be null.
-
systemProperties
Adds some system properties to use for the process.- Angegeben von:
systemPropertiesin SchnittstelleJavaForkOptions- Parameter:
properties- The system properties. Must not be null.- Gibt zurück:
- this
-
systemProperty
Adds a system property to use for the process.- Angegeben von:
systemPropertyin SchnittstelleJavaForkOptions- Parameter:
name- The name of the propertyvalue- The value for the property. May be null.- Gibt zurück:
- this
-
getBootstrapClasspath
Returns the bootstrap classpath to use for the process. The default bootstrap classpath for the JVM is used when this classpath is empty.- Angegeben von:
getBootstrapClasspathin SchnittstelleJavaForkOptions- Gibt zurück:
- The bootstrap classpath. Never returns null.
-
setBootstrapClasspath
Sets the bootstrap classpath to use for the process. Set to an empty classpath to use the default bootstrap classpath for the specified JVM.- Angegeben von:
setBootstrapClasspathin SchnittstelleJavaForkOptions- Parameter:
classpath- The classpath. Must not be null. Can be empty.
-
bootstrapClasspath
Adds the given values to the end of the bootstrap classpath for the process.- Angegeben von:
bootstrapClasspathin SchnittstelleJavaForkOptions- Parameter:
classpath- The classpath.- Gibt zurück:
- this
-
getMinHeapSize
Returns the minimum heap size for the process, if any.- Angegeben von:
getMinHeapSizein SchnittstelleJavaForkOptions- Gibt zurück:
- The minimum heap size. Returns null if the default minimum heap size should be used.
-
setMinHeapSize
Sets the minimum heap size for the process. Supports the units megabytes (e.g. "512m") and gigabytes (e.g. "1g").- Angegeben von:
setMinHeapSizein SchnittstelleJavaForkOptions- Parameter:
heapSize- The minimum heap size. Use null for the default minimum heap size.
-
getDefaultCharacterEncoding
Returns the default character encoding to use.- Angegeben von:
getDefaultCharacterEncodingin SchnittstelleJavaForkOptions- Gibt zurück:
- The default character encoding. Returns null if the
default character encoding of this JVMshould be used.
-
setDefaultCharacterEncoding
Sets the default character encoding to use. Note: Many JVM implementations support the setting of this attribute via system property on startup (namely, thefile.encodingproperty). For JVMs where this is the case, setting thefile.encodingproperty viaJavaForkOptions.setSystemProperties(java.util.Map)or similar will have no effect as this value will be overridden by the value specified byJavaForkOptions.getDefaultCharacterEncoding().- Angegeben von:
setDefaultCharacterEncodingin SchnittstelleJavaForkOptions- Parameter:
defaultCharacterEncoding- The default character encoding. Use null to usethis JVM's default charset
-
getMaxHeapSize
Returns the maximum heap size for the process, if any.- Angegeben von:
getMaxHeapSizein SchnittstelleJavaForkOptions- Gibt zurück:
- The maximum heap size. Returns null if the default maximum heap size should be used.
-
setMaxHeapSize
Sets the maximum heap size for the process. Supports the units megabytes (e.g. "512m") and gigabytes (e.g. "1g").- Angegeben von:
setMaxHeapSizein SchnittstelleJavaForkOptions- Parameter:
heapSize- The heap size. Use null for the default maximum heap size.
-
getEnableAssertions
public boolean getEnableAssertions()Returns true if assertions are enabled for the process.- Angegeben von:
getEnableAssertionsin SchnittstelleJavaForkOptions- Gibt zurück:
- true if assertions are enabled, false if disabled
-
setEnableAssertions
public void setEnableAssertions(boolean enabled) Enable or disable assertions for the process.- Angegeben von:
setEnableAssertionsin SchnittstelleJavaForkOptions- Parameter:
enabled- true to enable assertions, false to disable.
-
getDebug
public boolean getDebug()Determines whether debugging is enabled for the test process. When enabled —debug = true— the process is started in a suspended state, listening on port 5005. You should disable parallel test execution when debugging and you will need to reattach the debugger occasionally if you use a non-zero value forTest.getForkEvery().Since Gradle 5.6, you can configure the port and other Java debug properties via
JavaForkOptions.debugOptions(Action).- Angegeben von:
getDebugin SchnittstelleJavaForkOptions- Gibt zurück:
- true when debugging is enabled, false to disable.
-
setDebug
public void setDebug(boolean enabled) Enable or disable debugging for the process. When enabled, the process is started suspended and listening on port 5005.The debug properties (e.g. the port number) can be configured in
JavaForkOptions.debugOptions(Action).- Angegeben von:
setDebugin SchnittstelleJavaForkOptions- Parameter:
enabled- true to enable debugging, false to disable.
-
getDebugOptions
Returns the Java Debug Wire Protocol properties for the process. If enabled then the-agentlib:jdwp=...will be appended to the JVM arguments with the configuration from the parameter.- Angegeben von:
getDebugOptionsin SchnittstelleJavaForkOptions
-
debugOptions
Configures Java Debug Wire Protocol properties for the process. IfJavaForkOptions.setDebug(boolean)is enabled then the-agentlib:jdwp=...will be appended to the JVM arguments with the configuration from the parameter.- Angegeben von:
debugOptionsin SchnittstelleJavaForkOptions- Parameter:
action- the Java debug configuration
-
getMainModule
The name of the main module to be executed if the application should run as a Java module.- Angegeben von:
getMainModulein SchnittstelleJavaExecSpec
-
getMainClass
The fully qualified name of the Main class to be executed.This does not need to be set if using an Executable Jar with a
Main-Classattribute.- Angegeben von:
getMainClassin SchnittstelleJavaExecSpec
-
getArgs
Returns the arguments passed to the main class to be executed.- Angegeben von:
getArgsin SchnittstelleJavaExecSpec
-
setArgsString
Parses an argument list fromargsand passes it tosetArgs(List).The parser supports both single quote (
') and double quote (") as quote delimiters. For example, to pass the argumentfoo bar, use"foo bar".Note: the parser does not support using backslash to escape quotes. If this is needed, use the other quote delimiter around it. For example, to pass the argument
'singly quoted', use"'singly quoted'".- Parameter:
args- Args for the main class. Will be parsed into an argument list.- Gibt zurück:
- this
- Seit:
- 4.9
-
setArgs
Sets the args for the main class to be executed.- Angegeben von:
setArgsin SchnittstelleJavaExecSpec- Parameter:
applicationArgs- Args for the main class.- Gibt zurück:
- this
-
setArgs
Sets the args for the main class to be executed.- Angegeben von:
setArgsin SchnittstelleJavaExecSpec- Parameter:
applicationArgs- Args for the main class.- Gibt zurück:
- this
-
args
Adds args for the main class to be executed.- Angegeben von:
argsin SchnittstelleJavaExecSpec- Parameter:
args- Args for the main class.- Gibt zurück:
- this
-
args
Adds args for the main class to be executed.- Angegeben von:
argsin SchnittstelleJavaExecSpec- Parameter:
args- Args for the main class.- Gibt zurück:
- this
-
getArgumentProviders
Argument providers for the application.- Angegeben von:
getArgumentProvidersin SchnittstelleJavaExecSpec
-
setClasspath
Sets the classpath for executing the main class.- Angegeben von:
setClasspathin SchnittstelleJavaExecSpec- Parameter:
classpath- the classpath- Gibt zurück:
- this
-
classpath
Adds elements to the classpath for executing the main class.- Angegeben von:
classpathin SchnittstelleJavaExecSpec- Parameter:
paths- classpath elements- Gibt zurück:
- this
-
getClasspath
Returns the classpath for executing the main class.- Angegeben von:
getClasspathin SchnittstelleJavaExecSpec
-
getModularity
Returns the module path handling for executing the main class.- Angegeben von:
getModularityin SchnittstelleJavaExecSpec
-
copyTo
Copies these options to the given options.- Angegeben von:
copyToin SchnittstelleJavaForkOptions- Parameter:
options- The target options.- Gibt zurück:
- this
-
getJavaVersion
Returns the version of the Java executable specified bygetJavaLauncher().- Seit:
- 5.2
-
getExecutable
Returns the name of the executable to use.- Angegeben von:
getExecutablein SchnittstelleProcessForkOptions- Gibt zurück:
- The executable.
-
setExecutable
Sets the name of the executable to use.- Angegeben von:
setExecutablein SchnittstelleProcessForkOptions- Parameter:
executable- The executable. Must not be null.
-
setExecutable
Sets the name of the executable to use.- Angegeben von:
setExecutablein SchnittstelleProcessForkOptions- Parameter:
executable- The executable. Must not be null.
-
executable
Sets the name of the executable to use.- Angegeben von:
executablein SchnittstelleProcessForkOptions- Parameter:
executable- The executable. Must not be null.- Gibt zurück:
- this
-
getWorkingDir
Returns the working directory for the process. Defaults to the project directory.- Angegeben von:
getWorkingDirin SchnittstelleProcessForkOptions- Gibt zurück:
- The working directory. Never returns null.
-
setWorkingDir
Sets the working directory for the process.- Angegeben von:
setWorkingDirin SchnittstelleProcessForkOptions- Parameter:
dir- The working directory. Must not be null.
-
setWorkingDir
Sets the working directory for the process. The supplied argument is evaluated as perProject.file(Object).- Angegeben von:
setWorkingDirin SchnittstelleProcessForkOptions- Parameter:
dir- The working directory. Must not be null.
-
workingDir
Sets the working directory for the process. The supplied argument is evaluated as perProject.file(Object).- Angegeben von:
workingDirin SchnittstelleProcessForkOptions- Parameter:
dir- The working directory. Must not be null.- Gibt zurück:
- this
-
getEnvironment
The environment variables to use for the process. Defaults to the environment of this process.- Angegeben von:
getEnvironmentin SchnittstelleProcessForkOptions- Gibt zurück:
- The environment. Returns an empty map when there are no environment variables.
-
setEnvironment
Sets the environment variable to use for the process.- Angegeben von:
setEnvironmentin SchnittstelleProcessForkOptions- Parameter:
environmentVariables- The environment variables. Must not be null.
-
environment
Adds an environment variable to the environment for this process.- Angegeben von:
environmentin SchnittstelleProcessForkOptions- Parameter:
name- The name of the variable.value- The value for the variable. Must not be null.- Gibt zurück:
- this
-
environment
Adds some environment variables to the environment for this process.- Angegeben von:
environmentin SchnittstelleProcessForkOptions- Parameter:
environmentVariables- The environment variables. Must not be null.- Gibt zurück:
- this
-
copyTo
Copies these options to the given target options.- Angegeben von:
copyToin SchnittstelleProcessForkOptions- Parameter:
target- The target options- Gibt zurück:
- this
-
setStandardInput
Sets the standard input stream for the process executing the command. The stream is closed after the process completes.- Angegeben von:
setStandardInputin SchnittstelleBaseExecSpec- Parameter:
inputStream- The standard input stream for the process. Must not be null.- Gibt zurück:
- this
-
getStandardInput
Returns the standard input stream for the process executing the command. The stream is closed after the process completes. Defaults to an empty stream.- Angegeben von:
getStandardInputin SchnittstelleBaseExecSpec- Gibt zurück:
- The standard input stream.
-
setStandardOutput
Sets the output stream to consume standard output from the process executing the command. The stream is closed after the process completes.- Angegeben von:
setStandardOutputin SchnittstelleBaseExecSpec- Parameter:
outputStream- The standard output stream for the process. Must not be null.- Gibt zurück:
- this
-
getStandardOutput
Returns the output stream to consume standard output from the process executing the command. Defaults toSystem.out.- Angegeben von:
getStandardOutputin SchnittstelleBaseExecSpec- Gibt zurück:
- The output stream
-
setErrorOutput
Sets the output stream to consume standard error from the process executing the command. The stream is closed after the process completes.- Angegeben von:
setErrorOutputin SchnittstelleBaseExecSpec- Parameter:
outputStream- The standard output error stream for the process. Must not be null.- Gibt zurück:
- this
-
getErrorOutput
Returns the output stream to consume standard error from the process executing the command. Default toSystem.err.- Angegeben von:
getErrorOutputin SchnittstelleBaseExecSpec- Gibt zurück:
- The error output stream.
-
setIgnoreExitValue
Sets whether a non-zero exit value is ignored, or an exception thrown.- Angegeben von:
setIgnoreExitValuein SchnittstelleBaseExecSpec- Parameter:
ignoreExitValue- whether a non-zero exit value is ignored, or an exception thrown- Gibt zurück:
- this
-
isIgnoreExitValue
Tells whether a non-zero exit value is ignored, or an exception thrown. Defaults tofalse.- Angegeben von:
isIgnoreExitValuein SchnittstelleBaseExecSpec- Gibt zurück:
- whether a non-zero exit value is ignored, or an exception thrown
-
getCommandLine
Returns the full command line, including the executable plus its arguments.- Angegeben von:
getCommandLinein SchnittstelleBaseExecSpec- Gibt zurück:
- The full command line, including the executable plus its arguments
-
getJvmArgumentProviders
Command line argument providers for the java process to fork.- Angegeben von:
getJvmArgumentProvidersin SchnittstelleJavaForkOptions
-
getJvmArguments
Extra JVM arguments to be to use to launch the JVM for the process. Must be used to set a convention for JVM arguments.- Angegeben von:
getJvmArgumentsin SchnittstelleJavaExecSpec
-
getExecutionResult
Returns the result for the command run by this task. The provider has no value if this task has not been executed yet.- Gibt zurück:
- A provider of the result.
- Seit:
- 6.1
-
getJavaLauncher
Configures the java executable to be used to run the tests.- Seit:
- 6.7
-
getObjectFactory
-
getPropertyFactory
@Inject protected org.gradle.api.internal.provider.PropertyFactory getPropertyFactory() -
getExecActionFactory
@Inject protected org.gradle.process.internal.ExecActionFactory getExecActionFactory() -
getJavaToolchainService
-
getProviderFactory
-