Class ContinuousJavaExec
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- io.github.bennofs.gradle.continuous.AbstractContinuousExec
-
- io.github.bennofs.gradle.continuous.ContinuousJavaExec
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
public class ContinuousJavaExec extends AbstractContinuousExec
Implementation ofAbstractContinuousExecthat launches a java process to handle changes. See base class for more information.
-
-
Constructor Summary
Constructors Constructor Description ContinuousJavaExec(org.gradle.api.model.ObjectFactory objectFactory, org.gradle.deployment.internal.DeploymentRegistry deploymentRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.tasks.JavaExecgetJavaExec()voidjavaExec(org.gradle.api.Action<? super org.gradle.api.tasks.JavaExec> configure)Configures options for the forked process.-
Methods inherited from class io.github.bennofs.gradle.continuous.AbstractContinuousExec
execute, getWatch
-
Methods inherited from class 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, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, replaceLogger, setImpliesSubProjects
-
-
-
-
Method Detail
-
getJavaExec
public org.gradle.api.tasks.JavaExec getJavaExec()
- Returns:
- The exec task to start the daemon.
-
javaExec
public void javaExec(org.gradle.api.Action<? super org.gradle.api.tasks.JavaExec> configure)
Configures options for the forked process. The process is expected to communicate with the build via stdin/stdout. SeeContinuousExecSpecfor a description of the protocol.- Parameters:
configure- Action to configure the process
-
-