Class AwsEmulatorService

java.lang.Object
io.github.gregwhitaker.awsemulator.emulator.AwsEmulatorService
All Implemented Interfaces:
AutoCloseable, org.gradle.api.services.BuildService<AwsEmulatorService.Parameters>

public abstract class AwsEmulatorService extends Object implements org.gradle.api.services.BuildService<AwsEmulatorService.Parameters>, AutoCloseable
One runtime manager per owner project and Gradle invocation, shared by its explicit consumers.
  • Constructor Details

    • AwsEmulatorService

      public AwsEmulatorService()
  • Method Details

    • managedConnection

      public io.github.gregwhitaker.awsemulator.internal.runtime.EmulatorConnection managedConnection()
    • inspectionConnection

      public io.github.gregwhitaker.awsemulator.internal.runtime.EmulatorConnection inspectionConnection(EmulatorMode mode)
      Resolves an existing runtime for reporting without starting an owned emulator.
    • developmentConnection

      public io.github.gregwhitaker.awsemulator.internal.runtime.EmulatorConnection developmentConnection()
    • prepare

      public String prepare()
    • start

      public String start()
    • stop

      public String stop()
    • restart

      public String restart()
    • status

      public String status()
    • logs

      public String logs()
    • doctor

      public String doctor()
    • cleanup

      public String cleanup(boolean reportOnly)
    • exportConnection

      public String exportConnection()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable