Class ContainerPathResolver

java.lang.Object
org.aksw.jenax.engine.docker.common.ContainerPathResolver

public class ContainerPathResolver extends Object
  • Method Details

    • resolveOrNull

      public Path resolveOrNull(Path containerPath)
      Returns null if the argument container path does not resolve to a path on the host.
    • expectResolvePath

      public static Path expectResolvePath(ContainerPathResolver containerPathResolver, Path path)
    • resolvePathString

      public static String resolvePathString(ContainerPathResolver containerPathResolver, String inPathStr)
    • resolvePath

      public static Path resolvePath(ContainerPathResolver containerPathResolver, Path path)
    • resolvePath

      public static Path resolvePath(ContainerPathResolver containerPathResolver, Path path, boolean expectedToResolve)
      Never returns null. Returns the argument if no further resolution applied.
    • create

      public static ContainerPathResolver create()
    • getMountMap

      public static Map<Path,Path> getMountMap(com.github.dockerjava.api.command.InspectContainerResponse containerInfo)
    • create

      public static ContainerPathResolver create(com.github.dockerjava.api.command.InspectContainerResponse containerInfo)