Interface UndoConfigService


  • public interface UndoConfigService

    Provides undo configuration.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T getConfig​(java.lang.String name, java.lang.Class<T> type)
      Returns a config value.
      void writeClientConfig​(java.io.Writer out)
      Writes config data as required by the clientside implementation.
    • Method Detail

      • getConfig

        <T> T getConfig​(java.lang.String name,
                        java.lang.Class<T> type)

        Returns a config value.

        Parameters:
        name - The name of the config
        type - The type of the config
        Returns:
        The config value
      • writeClientConfig

        void writeClientConfig​(java.io.Writer out)
                        throws java.io.IOException

        Writes config data as required by the clientside implementation.

        Parameters:
        out - The writer
        Throws:
        java.io.IOException - if the client config could not be written to the client