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, makeVolMap
public CommonDockerMapper() throws DockerVolCreationException
DockerVolCreationException
public String version()
DockerMountMapper
public String builtForVersion()
DockerMountMapper
protected String formatHostPath(String path)
formatHostPath
in class BasicDockerMapper
path
- protected String formatConfigPath(String path)
BasicDockerMapper
formatConfigPath
in class BasicDockerMapper
path
- A path taken from the config file. Relative paths should already be converted to absolute paths.protected boolean isWindowsHostPath(String path)