Package com.powsybl.cgmes.conversion
Class CgmesConversionContextExtensionAdderImplProvider
- java.lang.Object
-
- com.powsybl.cgmes.conversion.CgmesConversionContextExtensionAdderImplProvider
-
- All Implemented Interfaces:
ExtensionAdderProvider<Network,CgmesConversionContextExtension,CgmesConversionContextExtensionAdderImpl>
@AutoService(ExtensionAdderProvider.class) public class CgmesConversionContextExtensionAdderImplProvider extends Object implements ExtensionAdderProvider<Network,CgmesConversionContextExtension,CgmesConversionContextExtensionAdderImpl>
- Author:
- Jérémy Labous
-
-
Constructor Summary
Constructors Constructor Description CgmesConversionContextExtensionAdderImplProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<CgmesConversionContextExtensionAdderImpl>
getAdderClass()
Returns the builder class provided by this Provider.String
getExtensionName()
Returns extension name.String
getImplementationName()
Returns a name that is used to select this provider when searching for implementations of extension builders inExtendable.newExtension(java.lang.Class<B>)
.CgmesConversionContextExtensionAdderImpl
newAdder(Network extendable)
returns an new empty ExtensionAdder for this extendable.
-
-
-
Method Detail
-
getImplementationName
public String getImplementationName()
Description copied from interface:ExtensionAdderProvider
Returns a name that is used to select this provider when searching for implementations of extension builders inExtendable.newExtension(java.lang.Class<B>)
.- Specified by:
getImplementationName
in interfaceExtensionAdderProvider<Network,CgmesConversionContextExtension,CgmesConversionContextExtensionAdderImpl>
- Returns:
- the name
-
getExtensionName
public String getExtensionName()
Description copied from interface:ExtensionAdderProvider
Returns extension name.- Specified by:
getExtensionName
in interfaceExtensionAdderProvider<Network,CgmesConversionContextExtension,CgmesConversionContextExtensionAdderImpl>
- Returns:
- the extension name
-
getAdderClass
public Class<CgmesConversionContextExtensionAdderImpl> getAdderClass()
Description copied from interface:ExtensionAdderProvider
Returns the builder class provided by this Provider.- Specified by:
getAdderClass
in interfaceExtensionAdderProvider<Network,CgmesConversionContextExtension,CgmesConversionContextExtensionAdderImpl>
- Returns:
- the class
-
newAdder
public CgmesConversionContextExtensionAdderImpl newAdder(Network extendable)
Description copied from interface:ExtensionAdderProvider
returns an new empty ExtensionAdder for this extendable.- Specified by:
newAdder
in interfaceExtensionAdderProvider<Network,CgmesConversionContextExtension,CgmesConversionContextExtensionAdderImpl>
- Parameters:
extendable
- the extendable on which the adder will add the extension
-
-