If the command to be executed is a built-in task, then the {@code commandContext} is the {@code Lookup}, NetBeans passes to the {@link org.netbeans.spi.project.ActionProvider}. Otherwise it is an empty {@code Lookup}.
Note that {@code Lookup} will always contain an instance of{@link NbCommandString} which specifies the command string passed to the{@link org.netbeans.spi.project.ActionProvider ActionProvider} implementation. @param project the Gradle project in which context the command isexecuted. This is similar to executing a command from the command line from the directory of this project. This argument cannot be {@code null}. @param commandContext the context when the command was started. Thisargument cannot be {@code null}. @return the {@link ContextAwareCommandFinalizer} which is to be notifiedif the Gradle command completes successfully. This method may never return {@code null}. @see NbCommandString
If the command to be executed is a built-in task, then the {@code commandContext} is the {@code Lookup}, NetBeans passes to the {@link org.netbeans.spi.project.ActionProvider}. Otherwise it is an empty {@code Lookup}.
Note that {@code Lookup} will always contain an instance of{@link NbCommandString} which specifies the command string passed to the{@link org.netbeans.spi.project.ActionProvider ActionProvider} implementation. @param project the Gradle project in which context the command isexecuted. This is similar to executing a command from the command line from the directory of this project. This argument cannot be {@code null}. @param commandContext the context when the command was started. Thisargument cannot be {@code null}. @return the {@link ContextAwareCommandFinalizer} which is to be notifiedif the Gradle command completes successfully. This method may never return {@code null}. @see NbCommandString
If the command to be executed is a built-in task, then the {@code commandContext} is the {@code Lookup}, NetBeans passes to the {@link org.netbeans.spi.project.ActionProvider}. Otherwise it is an empty {@code Lookup}.
Note: If it can be determined from the context that any version of Gradle is able to execute the associated command, it is recommended to return {@code null}, because in this case the command executor will not need to fetch the version of Gradle.
Note that {@code Lookup} will always contain an instance of{@link NbCommandString} which specifies the command string passed to the{@link org.netbeans.spi.project.ActionProvider ActionProvider} implementation. @param project the Gradle project in which context the command isexecuted. This is similar to executing a command from the command line from the directory of this project. This argument cannot be {@code null}. @param commandContext the context when the command was started. Thisargument cannot be {@code null}. @return the {@code GradleTargetVerifier} used to check if the givenGradle target is able to execute the command. May return {@code null}if any version of Gradle will be able to run the associated command. @see NbCommandString
|
|
|
|
|
|
|
|
|
|
|
|