Package com.powsybl.iidm.network
Class DefaultNetworkListener
java.lang.Object
com.powsybl.iidm.network.DefaultNetworkListener
- All Implemented Interfaces:
NetworkListener
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterRemoval
(String identifiable) void
beforeRemoval
(Identifiable<?> identifiable) void
onCreation
(Identifiable<?> identifiable) void
onExtensionAfterRemoval
(Identifiable<?> identifiable, String extensionName) void
onExtensionBeforeRemoval
(Extension<?> extension) void
onExtensionCreation
(Extension<?> extension) void
onExtensionUpdate
(Extension<?> extension, String attribute, Object oldValue, Object newValue) void
onUpdate
(Identifiable<?> identifiable, String attribute, Object oldValue, Object newValue) void
onUpdate
(Identifiable<?> identifiable, String attribute, String variantId, Object oldValue, Object newValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.iidm.network.NetworkListener
onElementAdded, onElementRemoved, onElementReplaced, onVariantCreated, onVariantOverwritten, onVariantRemoved
-
Constructor Details
-
DefaultNetworkListener
public DefaultNetworkListener()
-
-
Method Details
-
onCreation
- Specified by:
onCreation
in interfaceNetworkListener
-
beforeRemoval
- Specified by:
beforeRemoval
in interfaceNetworkListener
-
afterRemoval
- Specified by:
afterRemoval
in interfaceNetworkListener
-
onUpdate
public void onUpdate(Identifiable<?> identifiable, String attribute, Object oldValue, Object newValue) - Specified by:
onUpdate
in interfaceNetworkListener
-
onUpdate
public void onUpdate(Identifiable<?> identifiable, String attribute, String variantId, Object oldValue, Object newValue) - Specified by:
onUpdate
in interfaceNetworkListener
-
onExtensionCreation
- Specified by:
onExtensionCreation
in interfaceNetworkListener
-
onExtensionUpdate
public void onExtensionUpdate(Extension<?> extension, String attribute, Object oldValue, Object newValue) - Specified by:
onExtensionUpdate
in interfaceNetworkListener
-
onExtensionBeforeRemoval
- Specified by:
onExtensionBeforeRemoval
in interfaceNetworkListener
-
onExtensionAfterRemoval
- Specified by:
onExtensionAfterRemoval
in interfaceNetworkListener
-