Class AbstractTaskClientGenerator

    • Constructor Detail

      • AbstractTaskClientGenerator

        public AbstractTaskClientGenerator()
    • Method Detail

      • getFileContent

        protected abstract String getFileContent()
                                          throws IOException
        Get file content for writing to the generated file.
        Returns:
        content of the file.
        Throws:
        IOException - if IO error happens while reading file content.
      • getGeneratedFile

        protected abstract File getGeneratedFile()
        Get the generated file where content will be written.
        Returns:
        the generated file.
      • shouldGenerate

        protected abstract boolean shouldGenerate()
        Check if it should generate the file or not.
        Returns:
        true if it should generate, false otherwise.