Class SendSesEmailTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
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="Sends a new message to the live emulator on every invocation") public abstract class SendSesEmailTask extends AbstractAwsResourceTask
Submits simple or raw email to local SES and writes its message ID. This task does not relay SMTP.
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.provider.ListProperty<String>
    Bcc recipients.
    abstract org.gradle.api.provider.ListProperty<String>
    Cc recipients.
    abstract org.gradle.api.provider.Property<String>
    Existing configuration set used for event publication.
    abstract org.gradle.api.provider.Property<String>
    Verified bare sender address, required even when raw MIME contains a From header.
    abstract org.gradle.api.provider.Property<String>
    UTF-8 HTML body; incompatible with rawMessage.
    abstract org.gradle.api.file.RegularFileProperty
    UTF-8 message ID output; defaults to build/aws-emulator/ses/TASK/message-id.txt.
    abstract org.gradle.api.file.RegularFileProperty
    Complete MIME document, up to 40 MiB.
    abstract org.gradle.api.provider.ListProperty<String>
    Optional reply-to addresses.
    abstract org.gradle.api.provider.Property<String>
    Simple-message subject; incompatible with rawMessage.
    abstract org.gradle.api.provider.Property<String>
    UTF-8 plain text body; incompatible with rawMessage.
    abstract org.gradle.api.provider.ListProperty<String>
    To recipients; the combined To/Cc/Bcc list must contain 1–50 bare addresses.
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     

    Methods inherited from class io.github.gregwhitaker.awsemulator.aws.AbstractAwsResourceTask

    connection, getApiCallTimeoutSeconds, getMode, setModeOption

    Methods inherited from class io.github.gregwhitaker.awsemulator.core.AbstractAwsEmulatorTask

    getRuntime, getRuntimeName, setRuntimeNameOption

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

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

    acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, 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, getConvention, notCompatibleWithConfigurationCache
  • Constructor Details

    • SendSesEmailTask

      public SendSesEmailTask()
  • Method Details

    • getFromAddress

      @Input public abstract org.gradle.api.provider.Property<String> getFromAddress()
      Verified bare sender address, required even when raw MIME contains a From header.
    • getToAddresses

      @Input public abstract org.gradle.api.provider.ListProperty<String> getToAddresses()
      To recipients; the combined To/Cc/Bcc list must contain 1–50 bare addresses.
    • getCcAddresses

      @Input public abstract org.gradle.api.provider.ListProperty<String> getCcAddresses()
      Cc recipients.
    • getBccAddresses

      @Input public abstract org.gradle.api.provider.ListProperty<String> getBccAddresses()
      Bcc recipients.
    • getReplyToAddresses

      @Input public abstract org.gradle.api.provider.ListProperty<String> getReplyToAddresses()
      Optional reply-to addresses.
    • getSubject

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getSubject()
      Simple-message subject; incompatible with rawMessage.
    • getTextBody

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getTextBody()
      UTF-8 plain text body; incompatible with rawMessage.
    • getHtmlBody

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getHtmlBody()
      UTF-8 HTML body; incompatible with rawMessage.
    • getRawMessage

      @InputFile @Optional @PathSensitive(RELATIVE) public abstract org.gradle.api.file.RegularFileProperty getRawMessage()
      Complete MIME document, up to 40 MiB. Supply envelope sender and recipients separately.
    • getConfigurationSetName

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getConfigurationSetName()
      Existing configuration set used for event publication.
    • getMessageIdFile

      @OutputFile public abstract org.gradle.api.file.RegularFileProperty getMessageIdFile()
      UTF-8 message ID output; defaults to build/aws-emulator/ses/TASK/message-id.txt.
    • setFromAddressOption

      public void setFromAddressOption(String value)
    • setToAddressesOption

      public void setToAddressesOption(String value)
    • setSubjectOption

      public void setSubjectOption(String value)
    • setTextBodyOption

      public void setTextBodyOption(String value)
    • setConfigurationSetNameOption

      public void setConfigurationSetNameOption(String value)
    • send

      public void send()