Class YuiPluginHelper
- java.lang.Object
-
- org.hippoecm.frontend.plugins.yui.YuiPluginHelper
-
public class YuiPluginHelper extends Object
Helper class for retrieving anIYuiManager
from the providedIPluginContext
and anIPluginConfig
instance with name "yui.config" from the providedIPluginConfig
parent.
-
-
Constructor Summary
Constructors Constructor Description YuiPluginHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPluginConfig
getConfig(IPluginConfig config)
Check if the providedIPluginConfig
has a childIPluginConfig
with name "yui.config".
-
-
-
Method Detail
-
getConfig
public static IPluginConfig getConfig(IPluginConfig config)
Check if the providedIPluginConfig
has a childIPluginConfig
with name "yui.config". If so, return it, else return null.- Parameters:
config
- TheIPluginConfig
to will be used as lookup entrypoint.- Returns:
- An
IPluginConfig
instance or null if not found
-
-