Package com.nike.pdm.localstack.aws.sqs
Class CreateSqsQueueWithDlqTask
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- com.nike.pdm.localstack.aws.sqs.CreateSqsQueueWithDlqTask
-
- 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 CreateSqsQueueWithDlqTask extends org.gradle.api.DefaultTask
Task that creates an SQS queue with an attached deadletter queue.
-
-
Constructor Summary
Constructors Constructor Description CreateSqsQueueWithDlqTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getDeadletterQueueAttributes()
Gets the queue attributes to apply to the created deadletter queue.java.lang.String
getDeadletterQueueName()
Gets the name of the deadletter queue to create.java.lang.String
getDescription()
java.lang.String
getGroup()
java.util.Map<java.lang.String,java.lang.String>
getQueueAttributes()
Gets the queue attributes to apply to the created queue.java.lang.String
getQueueName()
Gets the name of the queue to create.void
run()
void
setDeadletterQueueAttributes(java.util.Map<java.lang.String,java.lang.String> deadletterQueueAttributes)
Sets the queue attributes to apply to the created deadletter queue.void
setDeadletterQueueName(java.lang.String deadletterQueueName)
Sets the name of the deadletter queue to create.void
setQueueAttributes(java.util.Map<java.lang.String,java.lang.String> queueAttributes)
Sets the queue attributes to apply to the created queue.void
setQueueName(java.lang.String queueName)
Sets the name of the queue to create.-
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
-
-
-
-
Method Detail
-
run
public void run()
-
getGroup
@Internal public java.lang.String getGroup()
- Specified by:
getGroup
in interfaceorg.gradle.api.Task
- Overrides:
getGroup
in classorg.gradle.api.internal.AbstractTask
-
getDescription
@Internal public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceorg.gradle.api.Task
- Overrides:
getDescription
in classorg.gradle.api.internal.AbstractTask
-
getQueueName
public java.lang.String getQueueName()
Gets the name of the queue to create.- Returns:
- queue name
-
setQueueName
public void setQueueName(java.lang.String queueName)
Sets the name of the queue to create.- Parameters:
queueName
- queue name
-
getQueueAttributes
public java.util.Map<java.lang.String,java.lang.String> getQueueAttributes()
Gets the queue attributes to apply to the created queue.- Returns:
- queue attributes
-
setQueueAttributes
public void setQueueAttributes(java.util.Map<java.lang.String,java.lang.String> queueAttributes)
Sets the queue attributes to apply to the created queue.- Parameters:
queueAttributes
- queue attributes
-
getDeadletterQueueName
public java.lang.String getDeadletterQueueName()
Gets the name of the deadletter queue to create. If not specified, the name will default to `{queueName}-dlq`.- Returns:
- deadletter queue name
-
setDeadletterQueueName
public void setDeadletterQueueName(java.lang.String deadletterQueueName)
Sets the name of the deadletter queue to create. If not specified, the name will default to `{queueName}-dlq`.- Parameters:
deadletterQueueName
- deadletter queue name
-
getDeadletterQueueAttributes
public java.util.Map<java.lang.String,java.lang.String> getDeadletterQueueAttributes()
Gets the queue attributes to apply to the created deadletter queue.- Returns:
- queue attributes
-
setDeadletterQueueAttributes
public void setDeadletterQueueAttributes(java.util.Map<java.lang.String,java.lang.String> deadletterQueueAttributes)
Sets the queue attributes to apply to the created deadletter queue.- Parameters:
deadletterQueueAttributes
- queue attributes
-
-