Class S3Download

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.infosmid.gradle.s3.S3Download
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>

@DisableCachingByDefault(because="Downloads from a remote service") public class S3Download extends org.gradle.api.DefaultTask
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Named

    org.gradle.api.Named.Namer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected String
     
    protected String
     

    Fields inherited from interface org.gradle.api.Task

    TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
     
     
    boolean
     
    void
    setAwsAccessKeyId(String awsAccessKeyId)
     
    void
    setAwsSecretAccessKey(String awsSecretAccessKey)
     
    void
    setBucket(String bucket)
     
    void
    setDestDir(String destDir)
     
    void
     
    void
     
    void
    setKeyPrefix(String keyPrefix)
     
    void
    setSkipError(boolean skipError)
     
    void
     

    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, 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, usesService

    Methods inherited from class org.gradle.api.internal.AbstractTask

    acceptServiceReferences, appendParallelSafeAction, doNotTrackState, doNotTrackStateIf, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonsNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gradle.api.Task

    doNotTrackState, notCompatibleWithConfigurationCache
  • Field Details

    • bucket

      @Optional @Input protected String bucket
    • awsAccessKeyId

      @Optional @Input protected String awsAccessKeyId
    • awsSecretAccessKey

      @Optional @Input protected String awsSecretAccessKey
  • Constructor Details

    • S3Download

      public S3Download()
  • Method Details

    • getGroup

      @Internal public String getGroup()
      Specified by:
      getGroup in interface org.gradle.api.Task
      Overrides:
      getGroup in class org.gradle.api.DefaultTask
    • getBucket

      public String getBucket()
    • setBucket

      public void setBucket(String bucket)
    • getAwsAccessKeyId

      public String getAwsAccessKeyId()
    • setAwsAccessKeyId

      public void setAwsAccessKeyId(String awsAccessKeyId)
    • getAwsSecretAccessKey

      public String getAwsSecretAccessKey()
    • setAwsSecretAccessKey

      public void setAwsSecretAccessKey(String awsSecretAccessKey)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getFile

      public String getFile()
    • setFile

      public void setFile(String file)
    • getKeyPrefix

      public String getKeyPrefix()
    • setKeyPrefix

      public void setKeyPrefix(String keyPrefix)
    • getDestDir

      public String getDestDir()
    • setDestDir

      public void setDestDir(String destDir)
    • isSkipError

      public boolean isSkipError()
    • setSkipError

      public void setSkipError(boolean skipError)
    • task

      public void task() throws InterruptedException
      Throws:
      InterruptedException