-
Notifications
You must be signed in to change notification settings - Fork 41
Migration guide v4.5.0
From this release, any connectable can be moved through either Terminal.NodeBreakerView::moveConnectable(int node, String voltageLevelId)
or Terminal.BusBreakerView::moveConnectable(String busId, boolean connected)
, depending on the topology of the move destination. The moving line feature introduced in 4.4.0 directly in the Line
interface has been removed.
IdentifiableType
has been introduced in this release. The method Identifiable.getType()
returns the IdentifiableType
for a given Identifiable
. Hence, the method Connectable.getType()
, inheriting from Identifiable.getType()
, does not returun a ConnectableType
anymore. Please also note that ConnectableType
has been deleted. Use IdentifiableType
instead.
From this release, when one removes a Connectable
he can also "clean the topology", that is, remove dangling wires and switches which would remain after the Connectable
removal. This is done by passing true to the new API Connectable::remove(boolean removeDanglingSwitches)
. The behaviour of the existing Connectable::remove()
remains the same and corresponds in fact by default to a call to Connectable::remove(false)
.