Package com.powsybl.cgmes.conversion
Interface CgmesConversionContextExtensionAdder
-
- All Superinterfaces:
ExtensionAdder<Network,CgmesConversionContextExtension>
- All Known Implementing Classes:
CgmesConversionContextExtensionAdderImpl
public interface CgmesConversionContextExtensionAdder extends ExtensionAdder<Network,CgmesConversionContextExtension>
- Author:
- Jérémy Labous
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<CgmesConversionContextExtension>
getExtensionClass()
Returns the class of the extension.CgmesConversionContextExtensionAdder
withContext(Context context)
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
-
-
-
Method Detail
-
getExtensionClass
default Class<CgmesConversionContextExtension> 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<Network,CgmesConversionContextExtension>
- Returns:
- the interface of the extension
-
withContext
CgmesConversionContextExtensionAdder withContext(Context context)
-
-