Package com.inductiveautomation.sfc
Interface ChartObserver
-
public interface ChartObserverA ChartObserver is notified when the chart or chart elements change state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBeforeChartStart(ChartContext chartContext)Provides the full chart context before the chart is started.voidonChartStateChange(java.util.UUID instanceId, ChartStateEnum previousState, ChartStateEnum currentState)voidonElementStateChange(java.util.UUID chartInstanceId, java.util.UUID elementId, ElementStateEnum previousState, ElementStateEnum currentState)
-
-
-
Method Detail
-
onBeforeChartStart
void onBeforeChartStart(ChartContext chartContext)
Provides the full chart context before the chart is started. Provides an opportunity to modify chart scope or perform other operations before the chart begins.
-
onChartStateChange
void onChartStateChange(java.util.UUID instanceId, ChartStateEnum previousState, ChartStateEnum currentState)
-
onElementStateChange
void onElementStateChange(java.util.UUID chartInstanceId, java.util.UUID elementId, ElementStateEnum previousState, ElementStateEnum currentState)
-
-