Class PollingConfig
java.lang.Object
com.inductiveautomation.perspective.common.config.binding.PollingConfig
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic PollingConfigfromJson(com.inductiveautomation.ignition.common.gson.JsonObject jsonObject) Parses a json object expected to have "enabled" and "rate" in it.
- 
Field Details- 
enabledpublic final boolean enabled
- 
expression
 
- 
- 
Constructor Details- 
PollingConfig
 
- 
- 
Method Details- 
fromJsonpublic static PollingConfig fromJson(@Nullable com.inductiveautomation.ignition.common.gson.JsonObject jsonObject) throws ConfigurationException Parses a json object expected to have "enabled" and "rate" in it. If the jsonobject is null, a polling config of enabled=false, rate="30" will be used as a default.- Throws:
- ConfigurationException
 
- 
getRateExpression- Returns:
- The polling rate expression, or null if polling is disabled
 
 
-