Class DataBaseDockerFile
java.lang.Object
com.winchesters.devopsify.service.technologies.docker.dockerfile.DockerFile
com.winchesters.devopsify.service.technologies.docker.dockerfile.DataBaseDockerFile
- All Implemented Interfaces:
GeneratedFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerates the content of a dockerfile from a templatereads the template dockerfileMethods inherited from class com.winchesters.devopsify.service.technologies.docker.dockerfile.DockerFile
getDockerfileTemplate, getFileContent, getFileTemplate, writeFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.winchesters.devopsify.service.technologies.GeneratedFile
writeFile
-
Constructor Details
-
DataBaseDockerFile
public DataBaseDockerFile()
-
-
Method Details
-
getDockerfileContent
Description copied from class:DockerFile
generates the content of a dockerfile from a template- Specified by:
getDockerfileContent
in classDockerFile
- Returns:
- a string containing the dockerfile content
- Throws:
IOException
- when io exception occurs
-
getDockerfileTemplate
Description copied from class:DockerFile
reads the template dockerfile- Specified by:
getDockerfileTemplate
in classDockerFile
- Returns:
- the dockerfile template
-