public abstract class GolangTaskSupport extends org.gradle.api.DefaultTask implements SettingsEnabled, ProjectEnabled
| Constructor and Description |
|---|
GolangTaskSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(groovy.lang.Closure<?> after) |
void |
before(groovy.lang.Closure<?> before) |
groovy.lang.Closure<?> |
getAfter() |
groovy.lang.Closure<?> |
getBefore() |
protected BuildSettings |
getBuild() |
protected DependenciesSettings |
getDependencies() |
protected DependencyHandler |
getDependencyHandler() |
Settings |
getGlobalSettings() |
protected GolangSettings |
getGolang() |
Settings |
getSettings() |
Settings |
getTaskSettings() |
protected TestingSettings |
getTesting() |
protected ToolchainSettings |
getToolchain() |
void |
run() |
protected void |
runAfter() |
void |
runBare() |
protected void |
runBefore() |
void |
setAfter(groovy.lang.Closure<?> after) |
void |
setBefore(groovy.lang.Closure<?> before) |
protected org.gradle.internal.logging.progress.ProgressLogger |
startProgress(java.lang.String description) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProject@Nonnull public Settings getGlobalSettings()
@Nonnull public Settings getTaskSettings()
@Nonnull public Settings getSettings()
getSettings in interface SettingsEnabled@Nonnull protected GolangSettings getGolang()
@Nonnull protected BuildSettings getBuild()
@Nonnull protected DependenciesSettings getDependencies()
@Nonnull protected ToolchainSettings getToolchain()
@Nonnull protected TestingSettings getTesting()
protected void runBefore()
throws java.lang.Exception
java.lang.Exceptionprotected void runAfter()
throws java.lang.Exception
java.lang.Exceptionpublic final void runBare()
throws java.lang.Exception
java.lang.Exception@Nonnull protected DependencyHandler getDependencyHandler()
public void run()
throws java.lang.Exception
java.lang.Exception@Nullable public groovy.lang.Closure<?> getBefore()
public void setBefore(@Nullable
groovy.lang.Closure<?> before)
@Nullable public groovy.lang.Closure<?> getAfter()
public void setAfter(@Nullable
groovy.lang.Closure<?> after)
public void before(@Nullable
groovy.lang.Closure<?> before)
public void after(@Nullable
groovy.lang.Closure<?> after)
@Nonnull
protected org.gradle.internal.logging.progress.ProgressLogger startProgress(@Nonnull
java.lang.String description)