com.bemoko.live.platform.mwc.config.elements.site
Class LiveConfigTweaker
java.lang.Object
com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfig<T>
com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfigWithExpression<LiveConfigPlugin>
com.bemoko.live.platform.mwc.config.elements.site.LiveConfigPlugin
com.bemoko.live.platform.mwc.config.elements.site.LiveConfigTweaker
- All Implemented Interfaces:
- InheritableConfig<InheritableConfig<?>>, NamedLiveConfig, NamedLiveConfigWithExpression
public class LiveConfigTweaker
- extends LiveConfigPlugin
| Methods inherited from class com.bemoko.live.platform.mwc.config.elements.site.LiveConfigPlugin |
addInitParam, addInitParam, assertValid, getInitParams, getIntentContainer, getPhaseAsEnum, getPlugin, getRoot, getScopeAsEnum, isEscape, setEscape, setIntentContainer, setPhase, setPlugin, setRoot, setScope, toString |
| Methods inherited from class com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfig |
generateAutoName, getId, getIdExplicitlySet, getNameExplicitlySet, internalSetName, isInherit, refreshNameIfNotExplictlySet, setId, setIdExplicitySet, setInherit, setNameExplicitySet |
LiveConfigTweaker
public LiveConfigTweaker()
getType
public LiveConfigPlugin.TYPE getType()
- Overrides:
getType in class LiveConfigPlugin
getName
public String getName()
- If the plugin is not set then the name value is the plugin value. Name is
used to identify the tweaker to allow overriding / replacement
TODO : Consolidate tweakers and plugins logic. Currently a plugin name of
null means the default plugin so we don't want the getName logic below
applied to plugins in general - however it isn't ideal that plugins and
tweakers have this subtle difference in behaviour so we should try to
remove differences where we can.
- Specified by:
getName in interface NamedLiveConfig- Overrides:
getName in class AbstractNamedLiveConfig<LiveConfigPlugin>
- Returns:
- the name