Class ParameterUtilities
java.lang.Object
com.inductiveautomation.ignition.common.tags.config.ParameterUtilities
This is a utility function to help deal with changes we've made to parameters over time (re-introduction of data
types through ParameterValue).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BoundPropertySet
Converts a modern parameter set back to the old style- used for version compatibility between remote systems.static BoundPropertySet
Like upgrade, but only copies set if changes are needed.static BoundPropertySet
Ensures the property set conforms to the new Parameters standard- keys are Parameters, values are ParameterValues.
-
Constructor Details
-
ParameterUtilities
public ParameterUtilities()
-
-
Method Details
-
ensureUpgraded
Like upgrade, but only copies set if changes are needed. -
upgrade
Ensures the property set conforms to the new Parameters standard- keys are Parameters, values are ParameterValues. Since this returns a new BoundPropertySet, be careful using it too liberally, in situations where the prop set might be extended and such. -
downgrade
Converts a modern parameter set back to the old style- used for version compatibility between remote systems.
-