Class TypedInstrumentationRule<P,F,T>
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.specification.entities.TypedInstrumentationRule<P,F,T>
-
- Type Parameters:
P
- the type of the model probeF
- the type of the model calculator from probeT
- the type of the model calculator to probe
public class TypedInstrumentationRule<P,F,T> extends Object
Wraps anInstrumentationRule
and adds the types for which probes are created (both in the instrumentation description and in the EventSim simulation engine)
-
-
Constructor Summary
Constructors Constructor Description TypedInstrumentationRule(InstrumentationRule decorated, Class<?> probedType, Class<?> calculatorFromType, Class<?> calculatorToType, Class<P> modelProbedType, Class<F> modelCalculatorFromType, Class<T> modelCalculatorToType, boolean useCalculatorsOnSingleEntity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <P> TypedInstrumentationRule<P,P,P>
fromSetBasedRule(SetBasedInstrumentationRule<P,?> rule)
Class<?>
getCalculatorFromType()
Class<?>
getCalculatorToType()
InstrumentationRule
getDecorated()
Class<F>
getModelCalculatorFromType()
Class<T>
getModelCalculatorToType()
Class<P>
getModelProbedType()
String
getName()
Class<?>
getProbedType()
void
setName(String name)
boolean
useCalculatorsOnSingleEntity()
-
-
-
Method Detail
-
fromSetBasedRule
public static <P> TypedInstrumentationRule<P,P,P> fromSetBasedRule(SetBasedInstrumentationRule<P,?> rule)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getProbedType
public Class<?> getProbedType()
-
getCalculatorFromType
public Class<?> getCalculatorFromType()
-
getCalculatorToType
public Class<?> getCalculatorToType()
-
getDecorated
public InstrumentationRule getDecorated()
-
useCalculatorsOnSingleEntity
public boolean useCalculatorsOnSingleEntity()
-
-