Class LightweightAttributeMonitor<MatchType extends IPatternMatch>
- java.lang.Object
-
- org.eclipse.viatra.transformation.evm.notification.AttributeMonitor<MatchType>
-
- org.eclipse.viatra.transformation.evm.specific.event.LightweightAttributeMonitor<MatchType>
-
public class LightweightAttributeMonitor<MatchType extends IPatternMatch> extends AttributeMonitor<MatchType>
-
-
Constructor Summary
Constructors Constructor Description LightweightAttributeMonitor(IBaseIndex index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterFor(MatchType atom)Register the attribute monitor to watch feature values of object defined in the given atom.voidunregisterFor(MatchType atom)Remove the attribute monitor from watching the given atom.voidunregisterForAll()Remove the attribute monitor from watching registered atoms.-
Methods inherited from class org.eclipse.viatra.transformation.evm.notification.AttributeMonitor
addAttributeMonitorListener, dispose, notifyListeners, removeAttributeMonitorListener
-
-
-
-
Constructor Detail
-
LightweightAttributeMonitor
public LightweightAttributeMonitor(IBaseIndex index)
-
-
Method Detail
-
registerFor
public void registerFor(MatchType atom)
Description copied from class:AttributeMonitorRegister the attribute monitor to watch feature values of object defined in the given atom.- Specified by:
registerForin classAttributeMonitor<MatchType extends IPatternMatch>
-
unregisterForAll
public void unregisterForAll()
Description copied from class:AttributeMonitorRemove the attribute monitor from watching registered atoms.- Specified by:
unregisterForAllin classAttributeMonitor<MatchType extends IPatternMatch>
-
unregisterFor
public void unregisterFor(MatchType atom)
Description copied from class:AttributeMonitorRemove the attribute monitor from watching the given atom.- Specified by:
unregisterForin classAttributeMonitor<MatchType extends IPatternMatch>
-
-