com.bemoko.live.platform.mwc.config.elements
Class AbstractNamedLiveConfigWithExpression<T extends AbstractNamedLiveConfigWithExpression<?>>
java.lang.Object
com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfig<T>
com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfigWithExpression<T>
- All Implemented Interfaces:
- InheritableConfig<InheritableConfig<?>>, NamedLiveConfig, NamedLiveConfigWithExpression
- Direct Known Subclasses:
- LiveConfigContextRule, LiveConfigDirectory, LiveConfigIntent, LiveConfigPlugin, LiveConfigResourceLink, LiveConfigRoute, LiveConfigUI, LiveConfigVariable
public class AbstractNamedLiveConfigWithExpression<T extends AbstractNamedLiveConfigWithExpression<?>>
- extends AbstractNamedLiveConfig<T>
- implements NamedLiveConfigWithExpression
| Methods inherited from class com.bemoko.live.platform.mwc.config.elements.AbstractNamedLiveConfig |
assertValid, generateAutoName, getId, getIdExplicitlySet, getName, getNameExplicitlySet, internalSetName, isInherit, refreshNameIfNotExplictlySet, setId, setIdExplicitySet, setInherit, setNameExplicitySet |
AbstractNamedLiveConfigWithExpression
public AbstractNamedLiveConfigWithExpression()
getExpr
public String getExpr()
- Specified by:
getExpr in interface NamedLiveConfigWithExpression
- Returns:
- the expression
setExpr
public void setExpr(String expr)
- Specified by:
setExpr in interface NamedLiveConfigWithExpression
- Parameters:
expr - - the expression for the live config element
setName
public void setName(String name)
- Specified by:
setName in interface NamedLiveConfig- Overrides:
setName in class AbstractNamedLiveConfig<T extends AbstractNamedLiveConfigWithExpression<?>>
- Parameters:
name - - the name of the live config element
refreshIdIfNotExplictlySet
protected void refreshIdIfNotExplictlySet()
- Overrides:
refreshIdIfNotExplictlySet in class AbstractNamedLiveConfig<T extends AbstractNamedLiveConfigWithExpression<?>>
isExprSet
public boolean isExprSet()
alwaysTrue
public boolean alwaysTrue()
- Specified by:
alwaysTrue in interface NamedLiveConfigWithExpression
toString
public String toString()
-
- Overrides:
toString in class Object