Class DockerAvailability

java.lang.Object
org.a2aproject.sdk.testutils.docker.DockerAvailability

public final class DockerAvailability extends Object
Utility class for checking Docker/Podman availability and test skip settings.
  • Method Details

    • isDockerAvailable

      public static boolean isDockerAvailable()
      Checks if Docker or Podman is available in the current environment. The result is cached after the first check.
      Returns:
      true if Docker or Podman is available, false otherwise
    • shouldSkipDockerTests

      public static boolean shouldSkipDockerTests()
      Checks if Docker tests should be skipped based on the system property. Tests are skipped when the system property "skipDockerTests" is set to "true".
      Returns:
      true if Docker tests should be skipped, false otherwise