Package com.day.cq.wcm.undo
Interface UndoConfigService
-
public interface UndoConfigService
Provides undo configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getConfig(String name, Class<T> type)
Returns a config value.void
writeClientConfig(Writer out)
Writes config data as required by the clientside implementation.
-
-
-
Method Detail
-
getConfig
<T> T getConfig(String name, 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(Writer out) throws IOException
Writes config data as required by the clientside implementation.
- Parameters:
out
- The writer- Throws:
IOException
- if the client config could not be written to the client
-
-