Class DockerWorkCmd
- java.lang.Object
-
- io.patriot_framework.network_simulator.docker.image.docker.builder.parts.DockerWorkCmd
-
- All Implemented Interfaces:
DockerFilePart
public class DockerWorkCmd extends Object implements DockerFilePart
The type Work docker file part.
-
-
Constructor Summary
Constructors Constructor Description DockerWorkCmd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setRequest(String plainLine)
Prepare request for Dockerfile translation.String
translate()
Translate request for specific Dockerfile command line.
-
-
-
Method Detail
-
setRequest
public void setRequest(String plainLine)
Description copied from interface:DockerFilePart
Prepare request for Dockerfile translation.- Specified by:
setRequest
in interfaceDockerFilePart
- Parameters:
plainLine
- the plain line
-
translate
public String translate()
Description copied from interface:DockerFilePart
Translate request for specific Dockerfile command line.- Specified by:
translate
in interfaceDockerFilePart
- Returns:
- the string
-
-