Package gg.xp.reevent.topology
Class BaseToggleableTopo
java.lang.Object
gg.xp.reevent.topology.BaseToggleableTopo
- All Implemented Interfaces:
TopoItem
- Direct Known Subclasses:
TopoAutoMethod
,TopoClass
,Topology
,TopoPackage
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected BaseToggleableTopo
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseToggleableTopo
(String name, List<? extends TopoItem> children, TopologyInfo info, String propKey) protected
BaseToggleableTopo
(String name, List<? extends TopoItem> children, TopologyInfo info, String propKey, Consumer<Boolean> statusSetter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
getName()
void
init()
boolean
boolean
void
setEnabledByParent
(boolean enabled) void
setEnabledDirectly
(boolean newStatus) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.topology.TopoItem
isEffectivelyEnabled
-
Field Details
-
isEnabledDirectly
protected boolean isEnabledDirectly -
isEnabledByParent
protected boolean isEnabledByParent -
isEffectivelyEnabled
protected boolean isEffectivelyEnabled -
parent
-
-
Constructor Details
-
BaseToggleableTopo
protected BaseToggleableTopo(String name, List<? extends TopoItem> children, TopologyInfo info, String propKey) -
BaseToggleableTopo
-
-
Method Details
-
getName
-
getChildren
- Specified by:
getChildren
in interfaceTopoItem
-
canBeDisabled
public boolean canBeDisabled()- Specified by:
canBeDisabled
in interfaceTopoItem
-
isEnabledDirectly
public boolean isEnabledDirectly()- Specified by:
isEnabledDirectly
in interfaceTopoItem
-
setEnabledDirectly
public void setEnabledDirectly(boolean newStatus) - Specified by:
setEnabledDirectly
in interfaceTopoItem
-
isEnabledByParent
public boolean isEnabledByParent()- Specified by:
isEnabledByParent
in interfaceTopoItem
-
setEnabledByParent
public void setEnabledByParent(boolean enabled) - Specified by:
setEnabledByParent
in interfaceTopoItem
-
getFullPropKey
-
extraCustomInit
protected void extraCustomInit() -
init
public void init()
-