public class CommonDockerMapper extends BasicDockerMapper
| Constructor and Description |
|---|
CommonDockerMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
builtForVersion()
The BioLockJ version that a class was built for and tested with.
|
protected String |
convertWindowsPath(String path) |
protected String |
formatConfigPath(String path)
Give a path as it appears in the config file, convert it to a form suitable for matching to map keys.
|
protected String |
formatHostPath(String path)
In the docker json file, the host path is sometimes represented as the exact path that the user might see on
their host machine, and sometimes it is pre-prended with /host_mnt/, and other other differences.
|
protected boolean |
isWindowsHostPath(String path) |
String |
version()
Changes to a mapper class should be accompanied by a increment in version.
|
asInnerPath, asOuterPath, formatInnerPath, getDockerInfoCmd, getMap, isParentDir, makeVolMappublic CommonDockerMapper()
throws DockerVolCreationException
DockerVolCreationExceptionpublic String version()
DockerMountMapperpublic String builtForVersion()
DockerMountMapperprotected String formatHostPath(String path)
formatHostPath in class BasicDockerMapperpath - protected String formatConfigPath(String path)
BasicDockerMapperformatConfigPath in class BasicDockerMapperpath - A path taken from the config file. Relative paths should already be converted to absolute paths.protected boolean isWindowsHostPath(String path)