Class InstrumentorSEMBuilder<M>
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.injection.InstrumentorSEMBuilder<M>
-
- Type Parameters:
M
- type of the model element the created instrumentor should deal with
public class InstrumentorSEMBuilder<M> extends Object
Lets the user decide if the created instrumentor should deal with model elements or with the actual implementation of the model elements. In the former case,withoutMapping()
should be called. In the latter case, a mapping of simulation to model elements should be specified by callinwithMapping(SimulationElementMapping)
.- See Also:
SimulationElementMapping
-
-
Constructor Summary
Constructors Constructor Description InstrumentorSEMBuilder(PCMModel pcm, MeasurementStorage storage, org.osgi.framework.Bundle bundle, InstrumentationDescription description, Class<M> modelType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> InstrumentorInstantiator<S,M>
withMapping(SimulationElementMapping<S,M> mapping)
MappinglessInstrumentorInstantiator<M>
withoutMapping()
-
-
-
Constructor Detail
-
InstrumentorSEMBuilder
public InstrumentorSEMBuilder(PCMModel pcm, MeasurementStorage storage, org.osgi.framework.Bundle bundle, InstrumentationDescription description, Class<M> modelType)
-
-
Method Detail
-
withMapping
public <S> InstrumentorInstantiator<S,M> withMapping(SimulationElementMapping<S,M> mapping)
-
withoutMapping
public MappinglessInstrumentorInstantiator<M> withoutMapping()
-
-