Class ConnectorHierarchyWriter

    • Constructor Detail

      • ConnectorHierarchyWriter

        public ConnectorHierarchyWriter()
    • Method Detail

      • write

        public void write​(UI ui,
                          Writer writer,
                          Set<String> stateUpdateConnectors)
                   throws IOException
        Writes a JSON object containing the connector hierarchy (parent-child mappings) of the dirty connectors in the given UI.
        Parameters:
        ui - The UI whose hierarchy to write.
        writer - The Writer used to write the JSON.
        stateUpdateConnectors - connector ids with state changes
        Throws:
        IOException - If the serialization fails.