Interface Predictor
- All Superinterfaces:
OpenemsComponent
- All Known Subinterfaces:
PredictorPersistenceModel
- All Known Implementing Classes:
AbstractPredictor
,DummyPredictor
,PredictorPersistenceModelImpl
,PredictorSimilardayModelImpl
Provides a
Prediction
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Method Summary
Modifier and TypeMethodDescriptionGets the Channel-Addresses for which this Predictor can provide a prediction.getPrediction
(ChannelAddress channelAddress) Gets aPrediction
for the givenChannelAddress
.Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Method Details
-
getChannelAddresses
ChannelAddress[] getChannelAddresses()Gets the Channel-Addresses for which this Predictor can provide a prediction.The entries can contain wildcards to match multiple actual
ChannelAddress
es.- Returns:
- an array of
ChannelAddress
es
-
getPrediction
Gets aPrediction
for the givenChannelAddress
.- Parameters:
channelAddress
- theChannelAddress
- Returns:
- the
Prediction
-