Class AuditStatus
java.lang.Object
com.inductiveautomation.ignition.common.util.AuditStatus
- All Implemented Interfaces:
- Serializable
Some stuff used to rely on StatusCode#getRawValue() and StatusCode#toString(), but now StatusCode
 isn't available for use. This is basically a copy of StatusCode so we don't fuck up backwards
 compatibility somehow.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enum
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final AuditStatusstatic final AuditStatusstatic final AuditStatusstatic final AuditStatusstatic final AuditStatusstatic final intstatic final intstatic final AuditStatusprotected int
- 
Constructor SummaryConstructorsConstructorDescriptionAuditStatus(int value) AuditStatus(AuditStatus.SubCode subcode) Creates a new status code with the given SubCode and false for the datavalue flag.AuditStatus(AuditStatus.SubCode subcode, boolean datavalue) Creates a new status code based on the given SubCodeAuditStatus(AuditStatus.SubCode subCode, AuditStatus.Severity severity) AuditStatus(AuditStatus.SubCode subCode, AuditStatus.Severity severity, boolean dataValue) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanshortReturns the InfoBits of the StatusCode (bits 0:9).getName()shortintinthashCode()booleanisGood()booleanbooleantoString()static AuditStatusworstOf(AuditStatus q1, AuditStatus q2) Returns the 'worst' or 'most severe' of the two qualities.static AuditStatusworstOfAll(AuditStatus... q) 
- 
Field Details- 
GOOD
- 
UNCERTAIN
- 
BAD
- 
BAD_SECURITY_CHECKS_FAILED
- 
BAD_INTERNAL_ERROR
- 
BAD_DEMO_EXPIRED
- 
STRUCTURE_CHANGED_MASKpublic static final int STRUCTURE_CHANGED_MASK- See Also:
 
- 
SEMANTICS_CHANGED_MASKpublic static final int SEMANTICS_CHANGED_MASK- See Also:
 
- 
valueprotected int value
 
- 
- 
Constructor Details- 
AuditStatuspublic AuditStatus(int value) 
- 
AuditStatus
- 
AuditStatus
- 
AuditStatusCreates a new status code with the given SubCode and false for the datavalue flag.
- 
AuditStatusCreates a new status code based on the given SubCode
 
- 
- 
Method Details- 
hashCodepublic int hashCode()
- 
equals
- 
getSeverity
- 
isGoodpublic boolean isGood()
- 
getRawSubCodepublic short getRawSubCode()
- 
getSubCode
- 
isStructureChangedpublic boolean isStructureChanged()
- 
isSemanticsChangedpublic boolean isSemanticsChanged()
- 
getInfoType
- 
getInfoBitspublic short getInfoBits()Returns the InfoBits of the StatusCode (bits 0:9). The structure of these bits depends on the InfoType
- 
getRawValuepublic int getRawValue()
- 
worstOfReturns the 'worst' or 'most severe' of the two qualities.
- 
worstOfAll
- 
toString
- 
getName
 
-