Class DockerAvailability
java.lang.Object
org.a2aproject.sdk.testutils.docker.DockerAvailability
Utility class for checking Docker/Podman availability and test skip settings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if Docker or Podman is available in the current environment.static booleanChecks if Docker tests should be skipped based on the system property.
-
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
-