public abstract class CIConfigExtractionTask
extends org.gradle.api.DefaultTask
| Modifier | Constructor and Description |
|---|---|
protected |
CIConfigExtractionTask(java.lang.String templateZipName,
java.lang.String targetDirName) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
determineJDKVersion() |
protected abstract void |
extractZip(java.lang.String fileZip,
java.io.File destDir) |
protected static java.lang.String |
findCommonPrefix(java.util.List<java.lang.String> groups)
Finds the most common prefix of all
groups. |
boolean |
getDeleteExisting() |
abstract org.gradle.api.file.DirectoryProperty |
getDestination() |
protected static java.io.File |
newFile(java.io.File destinationDir,
java.util.zip.ZipEntry zipEntry)
Creates a new file or directory.
|
void |
run() |
void |
setDeleteExisting(boolean deleteExisting) |
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, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsprotected CIConfigExtractionTask(java.lang.String templateZipName,
java.lang.String targetDirName)
public void run()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void extractZip(java.lang.String fileZip,
java.io.File destDir)
throws java.lang.Exception
java.lang.Exception@InputDirectory @PathSensitive(value=NONE) public abstract org.gradle.api.file.DirectoryProperty getDestination()
protected static java.io.File newFile(java.io.File destinationDir,
java.util.zip.ZipEntry zipEntry)
throws java.lang.Exception
destinationDir - The target directory.zipEntry - The entry in the .teamcity.zip file.java.lang.Exceptionprotected java.lang.String determineJDKVersion()
@Input public boolean getDeleteExisting()
public void setDeleteExisting(boolean deleteExisting)
protected static java.lang.String findCommonPrefix(java.util.List<java.lang.String> groups)
groups.