Package com.day.cq.wcm.undo
Interface UndoConfigService
-
public interface UndoConfigServiceProvides undo configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetConfig(java.lang.String name, java.lang.Class<T> type)Returns a config value.voidwriteClientConfig(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 configtype- The type of the config- Returns:
- The config value
-
writeClientConfig
void writeClientConfig(java.io.Writer out) throws java.io.IOExceptionWrites 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
-
-