Interface GeneratedFile

All Known Implementing Classes:
BackendDockerFile, DataBaseDockerFile, DockerFile, FrontEndDockerFile, JenkinsFile

public interface GeneratedFile
  • Method Details

    • writeFile

      void writeFile(String path) throws IOException
      Throws:
      IOException
    • writeFile

      default void writeFile(String path, String fileName) throws IOException
      Throws:
      IOException
    • getFileContent

      String getFileContent() throws IOException
      generates the content of a dockerfile from a template
      Returns:
      a string containing the dockerfile content
      Throws:
      IOException - when io exception occurs
    • getFileTemplate

      File getFileTemplate()
      reads the template dockerfile
      Returns:
      the dockerfile template