Class NodeModelConfigurator<T extends NodeModel>
- java.lang.Object
-
- org.planit.utils.builder.Configurator<T>
-
- org.planit.supply.network.nodemodel.NodeModelConfigurator<T>
-
- Type Parameters:
T
- node model type
- Direct Known Subclasses:
TampereNodeModelConfigurator
public class NodeModelConfigurator<T extends NodeModel> extends Configurator<T>
Base class for all node model configurator implementations- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.planit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Constructor Description NodeModelConfigurator(Class<T> instanceType)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(NodeModel nodeModel)
Needed to avoid issues with generics, although it should be obvious that T extends NodeModel-
Methods inherited from class org.planit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Method Detail
-
configure
public void configure(NodeModel nodeModel) throws PlanItException
Needed to avoid issues with generics, although it should be obvious that T extends NodeModel- Overrides:
configure
in classConfigurator<T extends NodeModel>
- Parameters:
nodeModel
- the instance to configure- Throws:
PlanItException
- thrown if error
-
-