public class Get extends GolangTask
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Get.DependencyDirType |
| Constructor and Description |
|---|
Get() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.nio.file.Path,Get.DependencyDirType> |
collectDirectoriesToKnownDependencyOf(java.nio.file.Path root,
java.util.Set<java.lang.String> knownDependencyIds) |
protected java.util.Collection<java.nio.file.Path> |
collectUnknownDependencyDirectories(java.nio.file.Path root,
java.util.Set<java.lang.String> knownDependencyIds) |
protected java.lang.Iterable<GolangDependency> |
dependencies() |
protected boolean |
doDeleteUnknownDependencies(java.nio.file.Path root,
java.util.Set<java.lang.String> knownDependencyIds) |
protected boolean |
doDeleteUnknownDependenciesIfRequired(java.nio.file.Path root,
java.util.Set<java.lang.String> knownDependencyIds) |
protected boolean |
isChildOfWithInfoFile(java.nio.file.Path directory,
java.nio.file.Path root,
java.util.Map<java.nio.file.Path,Get.DependencyDirType> directories) |
protected boolean |
isKnownDependencyDirectory(java.nio.file.Path directory,
java.nio.file.Path root,
java.util.Set<java.lang.String> knownDependencyIds) |
void |
run() |
getBuild, getDependencies, getGlobalBuild, getGlobalDependencies, getGlobalGolang, getGlobalTesting, getGlobalToolchain, getGolang, getTesting, getToolchain, runBareaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, 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, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic void run()
throws java.lang.Exception
run in class GolangTaskjava.lang.Exception@Nonnull protected java.lang.Iterable<GolangDependency> dependencies()
protected boolean doDeleteUnknownDependenciesIfRequired(@Nonnull
java.nio.file.Path root,
@Nonnull
java.util.Set<java.lang.String> knownDependencyIds)
throws java.io.IOException
java.io.IOExceptionprotected boolean doDeleteUnknownDependencies(@Nonnull
java.nio.file.Path root,
@Nonnull
java.util.Set<java.lang.String> knownDependencyIds)
throws java.io.IOException
java.io.IOException@Nonnull
protected java.util.Collection<java.nio.file.Path> collectUnknownDependencyDirectories(@Nonnull
java.nio.file.Path root,
@Nonnull
java.util.Set<java.lang.String> knownDependencyIds)
@Nonnull protected java.util.Map<java.nio.file.Path,Get.DependencyDirType> collectDirectoriesToKnownDependencyOf(@Nonnull java.nio.file.Path root, @Nonnull java.util.Set<java.lang.String> knownDependencyIds)
protected boolean isChildOfWithInfoFile(@Nonnull
java.nio.file.Path directory,
@Nonnull
java.nio.file.Path root,
@Nonnull
java.util.Map<java.nio.file.Path,Get.DependencyDirType> directories)
protected boolean isKnownDependencyDirectory(@Nonnull
java.nio.file.Path directory,
@Nonnull
java.nio.file.Path root,
@Nonnull
java.util.Set<java.lang.String> knownDependencyIds)
throws java.io.IOException
java.io.IOException