Class PurgeSqsQueuesTask

  • All Implemented Interfaces:
    java.lang.Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>

    public class PurgeSqsQueuesTask
    extends org.gradle.api.DefaultTask
    Task that purges messages from SQS queues.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.Task

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

      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()  
      java.lang.String getGroup()  
      java.util.List<java.lang.String> getQueueNames()
      Gets the names of the queues to purge.
      void run()  
      void setQueueNames​(java.lang.String queueNames)
      Sets the names of queues to purge.
      void setQueueNames​(java.util.List<java.lang.String> queueNames)
      Sets the names of the queues to purge.
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getRequiredServices, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PurgeSqsQueuesTask

        public PurgeSqsQueuesTask()
    • Method Detail

      • run

        public void run()
      • getGroup

        @Internal
        public java.lang.String getGroup()
        Specified by:
        getGroup in interface org.gradle.api.Task
        Overrides:
        getGroup in class org.gradle.api.internal.AbstractTask
      • getDescription

        @Internal
        public java.lang.String getDescription()
        Specified by:
        getDescription in interface org.gradle.api.Task
        Overrides:
        getDescription in class org.gradle.api.internal.AbstractTask
      • getQueueNames

        public java.util.List<java.lang.String> getQueueNames()
        Gets the names of the queues to purge.
        Returns:
        queue names
      • setQueueNames

        public void setQueueNames​(java.util.List<java.lang.String> queueNames)
        Sets the names of the queues to purge.
        Parameters:
        queueNames - queue names
      • setQueueNames

        public void setQueueNames​(java.lang.String queueNames)
        Sets the names of queues to purge. This method supports providing the queue names as a comma-delimited list of names.
        Parameters:
        queueNames - queue names