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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncleanup(boolean reportOnly) voidclose()io.github.gregwhitaker.awsemulator.internal.runtime.EmulatorConnectiondoctor()io.github.gregwhitaker.awsemulator.internal.runtime.EmulatorConnectionResolves an existing runtime for reporting without starting an owned emulator.logs()io.github.gregwhitaker.awsemulator.internal.runtime.EmulatorConnectionprepare()restart()start()status()stop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.services.BuildService
getParameters
-
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
-
start
-
stop
-
restart
-
status
-
logs
-
doctor
-
cleanup
-
exportConnection
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-