Class ConsoleWriter

  • All Implemented Interfaces:
    Writer

    public class ConsoleWriter
    extends java.lang.Object
    implements Writer
    Write project as json to the console
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(Project project, java.io.File outputFile)
      Write project to console as json
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleWriter

        public ConsoleWriter()
    • Method Detail

      • write

        public void write​(Project project,
                          java.io.File outputFile)
                   throws java.lang.Exception
        Write project to console as json
        Specified by:
        write in interface Writer
        Parameters:
        project - the service project
        outputFile - the json output
        Throws:
        java.lang.Exception - in case an unexpected error occurs