Class DockerServiceImpl
java.lang.Object
com.winchesters.devopsify.service.technologies.docker.systemdocker.DockerServiceImpl
- All Implemented Interfaces:
DockerService,TechnologyService
-
Field Summary
Fields inherited from interface com.winchesters.devopsify.service.technologies.TechnologyService
scriptDirectory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidgenerateDockerfile(DockerFile dockerfile, String path) voidgenerateDockerFile(File directory) voidinstall()voidvoidbooleanstatic voidbyte[]byte[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.winchesters.devopsify.service.technologies.TechnologyService
installed, installFromScript
-
Constructor Details
-
DockerServiceImpl
public DockerServiceImpl()
-
-
Method Details
-
main
-
dockerInstalled
public boolean dockerInstalled()- Specified by:
dockerInstalledin interfaceDockerService
-
dockerComposeInstalled
public boolean dockerComposeInstalled()- Specified by:
dockerComposeInstalledin interfaceDockerService
-
installed
public boolean installed()- Specified by:
installedin interfaceTechnologyService
-
generateDockerFile
- Specified by:
generateDockerFilein interfaceDockerService
-
installDockerCompose
public void installDockerCompose()- Specified by:
installDockerComposein interfaceDockerService
-
installDocker
public void installDocker()- Specified by:
installDockerin interfaceDockerService
-
generateDockerfile
- Specified by:
generateDockerfilein interfaceDockerService- Throws:
IOException
-
install
public void install()- Specified by:
installin interfaceTechnologyService
-
viewDataBaseDockerfile
- Specified by:
viewDataBaseDockerfilein interfaceDockerService- Throws:
IOException
-
viewBackendDockerfile
- Specified by:
viewBackendDockerfilein interfaceDockerService- Throws:
IOException
-