Class SpringBootEmulatorExtension
java.lang.Object
io.github.gregwhitaker.awsemulator.boot.SpringBootEmulatorExtension
Settings in
awsEmulator.springBoot, shared by bootRunLocal and bootRunLocalDebug.
Ordinary bootRun remains independently configured.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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>getMode()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.
-
Constructor Details
-
SpringBootEmulatorExtension
public SpringBootEmulatorExtension()
-
-
Method Details
-
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
Active Spring profiles, defaulting to local. An empty list supplies no profile argument. -
getJvmArgs
Additional JVM arguments for both local tasks. -
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
Automatically run resource provisioning tasks before the application; defaults to true. -
getExcludedSetupTasks
Local task names or paths to omit from automatic discovery. Explicit dependencies still apply. -
getDebugPort
Loopback debugger port, defaulting to 5005. -
getDebugSuspend
Whether bootRunLocalDebug waits for a debugger; defaults to true.
-