Class EssentialCalculatorsFactory
- java.lang.Object
-
- de.fzi.power.interpreter.calculators.AbstractCalculatorFactory
-
- de.fzi.power.interpreter.calculators.essential.EssentialCalculatorsFactory
-
- All Implemented Interfaces:
CalculatorFactory
public class EssentialCalculatorsFactory extends AbstractCalculatorFactory
-
-
Constructor Summary
Constructors Constructor Description EssentialCalculatorsFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPriority()
Gets the priority.protected Set<String>
getSupportedDistributionPowerModelIds()
protected Set<String>
getSupportedResourcePowerModelIds()
AbstractDistributionPowerModelCalculator
instantiateDistributionPowerModelCalculator(DistributionPowerBinding binding)
Instantiate distribution power model calculator.IResourcePowerModelCalculator
instantiateResourcePowerModelCalculator(ResourcePowerBinding binding)
Instantiate resource power model calculator.-
Methods inherited from class de.fzi.power.interpreter.calculators.AbstractCalculatorFactory
isCompatibleWith
-
-
-
-
Method Detail
-
instantiateResourcePowerModelCalculator
public IResourcePowerModelCalculator instantiateResourcePowerModelCalculator(ResourcePowerBinding binding)
Description copied from interface:CalculatorFactory
Instantiate resource power model calculator.- Specified by:
instantiateResourcePowerModelCalculator
in interfaceCalculatorFactory
- Overrides:
instantiateResourcePowerModelCalculator
in classAbstractCalculatorFactory
- Returns:
- the abstract resource power model calculator
-
instantiateDistributionPowerModelCalculator
public AbstractDistributionPowerModelCalculator instantiateDistributionPowerModelCalculator(DistributionPowerBinding binding)
Description copied from interface:CalculatorFactory
Instantiate distribution power model calculator.- Specified by:
instantiateDistributionPowerModelCalculator
in interfaceCalculatorFactory
- Overrides:
instantiateDistributionPowerModelCalculator
in classAbstractCalculatorFactory
- Returns:
- the abstract distribution power model calculator
-
getPriority
public int getPriority()
Description copied from interface:CalculatorFactory
Gets the priority.- Specified by:
getPriority
in interfaceCalculatorFactory
- Specified by:
getPriority
in classAbstractCalculatorFactory
- Returns:
- the priority
-
getSupportedDistributionPowerModelIds
protected Set<String> getSupportedDistributionPowerModelIds()
- Overrides:
getSupportedDistributionPowerModelIds
in classAbstractCalculatorFactory
-
getSupportedResourcePowerModelIds
protected Set<String> getSupportedResourcePowerModelIds()
- Overrides:
getSupportedResourcePowerModelIds
in classAbstractCalculatorFactory
-
-