Interface BranchStatusAdder<C extends Connectable<C>>
-
- All Superinterfaces:
ExtensionAdder<C,BranchStatus<C>>
- All Known Implementing Classes:
BranchStatusAdderImpl
public interface BranchStatusAdder<C extends Connectable<C>> extends ExtensionAdder<C,BranchStatus<C>>
- Author:
- Nicolas Noir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<BranchStatus>
getExtensionClass()
Returns the class of the extension.BranchStatusAdder<C>
withStatus(BranchStatus.Status branchStatus)
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
-
-
-
Method Detail
-
getExtensionClass
default Class<BranchStatus> getExtensionClass()
Description copied from interface:ExtensionAdder
Returns the class of the extension. This is expected to be an interface so that multiple implementors can implement the same extensions. This will be the key at which the extension is added on the extendable. This is meant to be implemented by adder interfaces but not by adder implementations.- Specified by:
getExtensionClass
in interfaceExtensionAdder<C extends Connectable<C>,BranchStatus<C extends Connectable<C>>>
- Returns:
- the interface of the extension
-
withStatus
BranchStatusAdder<C> withStatus(BranchStatus.Status branchStatus)
-
-