Class SpringBootEmulatorExtension

java.lang.Object
io.github.gregwhitaker.awsemulator.boot.SpringBootEmulatorExtension

public abstract class SpringBootEmulatorExtension extends Object
Settings in awsEmulator.springBoot, shared by bootRunLocal and bootRunLocalDebug. Ordinary bootRun remains independently configured.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.provider.Property<Boolean>
    Automatically run resource provisioning tasks before the application; defaults to true.
    abstract org.gradle.api.provider.Property<Integer>
    Loopback debugger port, defaulting to 5005.
    abstract org.gradle.api.provider.Property<Boolean>
    Whether bootRunLocalDebug waits for a debugger; defaults to true.
    abstract org.gradle.api.provider.ListProperty<String>
    Local task names or paths to omit from automatic discovery.
    abstract org.gradle.api.provider.ListProperty<String>
    Additional JVM arguments for both local tasks.
    abstract org.gradle.api.provider.Property<io.github.gregwhitaker.awsemulator.model.EmulatorMode>
    DEVELOPMENT (default) retains the emulator after the application exits; MANAGED cleans it up.
    abstract org.gradle.api.provider.ListProperty<String>
    Active Spring profiles, defaulting to local.
    abstract org.gradle.api.provider.ListProperty<io.github.gregwhitaker.awsemulator.emulator.EmulatorResourceSet>
    Reusable definitions to provision and seed in the local application's selected mode.
    abstract org.gradle.api.provider.Property<String>
    Named runtime used by local run/debug tasks and their setup.
    abstract org.gradle.api.provider.ListProperty<String>
    Additional task names or paths to execute before either local task.

    Methods inherited from class java.lang.Object

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

    • SpringBootEmulatorExtension

      public SpringBootEmulatorExtension()
  • Method Details

    • getRuntimeName

      public abstract org.gradle.api.provider.Property<String> getRuntimeName()
      Named runtime used by local run/debug tasks and their setup. Defaults to default.
    • getMode

      public abstract org.gradle.api.provider.Property<io.github.gregwhitaker.awsemulator.model.EmulatorMode> getMode()
      DEVELOPMENT (default) retains the emulator after the application exits; MANAGED cleans it up.
    • getProfiles

      public abstract org.gradle.api.provider.ListProperty<String> getProfiles()
      Active Spring profiles, defaulting to local. An empty list supplies no profile argument.
    • getJvmArgs

      public abstract org.gradle.api.provider.ListProperty<String> getJvmArgs()
      Additional JVM arguments for both local tasks.
    • getSetupTasks

      public abstract org.gradle.api.provider.ListProperty<String> getSetupTasks()
      Additional task names or paths to execute before either local task.
    • getResourceSets

      public abstract org.gradle.api.provider.ListProperty<io.github.gregwhitaker.awsemulator.emulator.EmulatorResourceSet> getResourceSets()
      Reusable definitions to provision and seed in the local application's selected mode.
    • getAutoCreateResources

      public abstract org.gradle.api.provider.Property<Boolean> getAutoCreateResources()
      Automatically run resource provisioning tasks before the application; defaults to true.
    • getExcludedSetupTasks

      public abstract org.gradle.api.provider.ListProperty<String> getExcludedSetupTasks()
      Local task names or paths to omit from automatic discovery. Explicit dependencies still apply.
    • getDebugPort

      public abstract org.gradle.api.provider.Property<Integer> getDebugPort()
      Loopback debugger port, defaulting to 5005.
    • getDebugSuspend

      public abstract org.gradle.api.provider.Property<Boolean> getDebugSuspend()
      Whether bootRunLocalDebug waits for a debugger; defaults to true.