Interface WorkspaceWriter

All Known Implementing Classes:
JsonWriter

public interface WorkspaceWriter
  • Method Summary

    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 Details

    • 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