Enum Class DockerTransport

java.lang.Object
java.lang.Enum<DockerTransport>
io.github.gregwhitaker.awsemulator.model.DockerTransport
All Implemented Interfaces:
Serializable, Comparable<DockerTransport>, Constable

public enum DockerTransport extends Enum<DockerTransport>
How Gradle reaches an owned emulator and obtains its connection files.
  • Enum Constant Details

    • DIRECT

      public static final DockerTransport DIRECT
      Local Docker port publication and a shared host directory. Supports both lifecycle modes.
    • TUNNEL

      public static final DockerTransport TUNNEL
      Build-scoped loopback forwarding through Docker exec, with files copied through Docker. Supports managed runtimes on remote daemons and in containerized runners.
  • Method Details

    • values

      public static DockerTransport[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DockerTransport valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null