Class QualityUtils
java.lang.Object
com.inductiveautomation.ignition.common.model.values.QualityUtils
This class provides some basic functions for creating derived QualityCodes and values.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic QualityCodederive(QualityCode base, LocalizedString description) Creates a new quality with the same ID and severity as the provided one, but with a new description.static QualityCodederive(QualityCode base, String descKey, Object... descParams) static QualityCodeReturns an error quality based of the "Error_Exception" quality, for the given exception.static QualifiedValuevalueFrom(QualityCode badQuality) 
- 
Constructor Details- 
QualityUtilspublic QualityUtils()
 
- 
- 
Method Details- 
deriveCreates a new quality with the same ID and severity as the provided one, but with a new description.
- 
derive
- 
makeInternalErrorReturns an error quality based of the "Error_Exception" quality, for the given exception. Currently uses the exceptions message as the details, in the future we may introduce a special exception quality with more information.
- 
valueFrom
 
-