Interface WorkspaceWriter

  • All Known Implementing Classes:
    JsonWriter

    public interface WorkspaceWriter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(com.structurizr.Workspace workspace, java.io.Writer writer)
      Writes a workspace definition to the specified Writer object.
    • Method Detail

      • write

        void write​(com.structurizr.Workspace workspace,
                   java.io.Writer writer)
            throws WorkspaceWriterException
        Writes a workspace definition to the specified Writer object.
        Parameters:
        workspace - the Workspace object to write
        writer - the Writer object to write the workspace to
        Throws:
        WorkspaceWriterException - if something goes wrong