Class DiagnosticsSample
java.lang.Object
com.inductiveautomation.ignition.common.DiagnosticsSample
- All Implemented Interfaces:
Serializable
DiagnosticSample is a tree of data about a target. To begin, create a sample wiht DiagnosticSample.newSample().
You can add messages, metrics, values, etc to a sample, and then use getSubSample() to get a deeper level of the
tree.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidadd(StringPath path, DiagnosticsSample.Diagnostic value) protected voidadd(String name, Object value, DiagnosticsSample.DiagnosticLevel level) voidvoidvoidaddMessage(String name, String value, DiagnosticsSample.DiagnosticLevel level) voidaddMetric(String name, StatMetric metric, DiagnosticsSample.DiagnosticLevel level) voidaddValue(String name, QualifiedValue value) Add the value, and sets the level based on whether or not the quality is good.voidaddValue(String name, QualifiedValue value, DiagnosticsSample.DiagnosticLevel level) abstract PathTree<StringPath,DiagnosticsSample.Diagnostic> getName()getSubSample(String name) static DiagnosticsSample
-
Method Details
-
newSample
-
getName
-
addMetric
-
addMessage
-
addValue
-
addInfo
-
addError
-
addValue
Add the value, and sets the level based on whether or not the quality is good. Good will be "info", and bad will be "error". -
add
-
add
-
getDiagnostics
-
getSubSample
-