Class SustainabilityPlugin
java.lang.Object
com.eqixiac.equinix.design.sustainability.SustainabilityPlugin
- All Implemented Interfaces:
DesignPlugin
Contributes the
CarbonObjective ("carbon"). Discovered through
DesignPlugin.discover() with no table, in which case the objective is inert (unknown for every
portfolio); construct it with a CarbonIntensityTable and pass it to the optimiser to use it:
MetroOptimizer.forSpec(fabric, spec).plugin(new SustainabilityPlugin(table)).run(), with the spec
weighting carbon.-
Constructor Summary
ConstructorsConstructorDescriptionAn inert plug-in: no intensity table. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DesignPlugin
constraints, currencyConverterModifier and TypeMethodDescriptiondefault List<Constraint> default CurrencyConverterA currency converter this plug-in contributes (for example a live FX feed).
-
Constructor Details
-
SustainabilityPlugin
public SustainabilityPlugin()An inert plug-in: no intensity table. -
SustainabilityPlugin
- Parameters:
table- the caller's intensity table, ornullfor an inert plug-in
-
-
Method Details
-
name
- Specified by:
namein interfaceDesignPlugin- Returns:
- a short name for diagnostics
-
objectives
- Specified by:
objectivesin interfaceDesignPlugin- Returns:
- objectives to add; never
null
-