Package com.e1c.g5.v8.dt.check.settings
Class CheckSettingsChange
- java.lang.Object
- 
- com.e1c.g5.v8.dt.check.settings.CheckSettingsChange
 
- 
 public final class CheckSettingsChange extends Object The difference between the previous state of the check settings and the last one. Used by theICheckSettingsChangeListenerlifecycle to perform selective changes in check-related data (e.g. markers, etc) This class isn't intended for the direct instantiation or changes by the clients
- 
- 
Constructor SummaryConstructors Constructor Description CheckSettingsChange(CheckUid checkId)Constructs an instance of theCheckSettingsChange
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckUidgetCheckId()Gets the check identifierIssueSeveritygetNewSeverity()Gest the new severity (if set)booleanisDisabled()Checks if the check is disabled as a result of the settings changebooleanisEnabled()Checks if the check is enabled as a result of the settings changebooleanisSettingsChanged()Checks if the custom check settings are changedvoidsetDisabled()Set disabled state change flag.voidsetEnabled()Set enabled state change flag.voidsetNewSeverity(IssueSeverity severity)Set new severity for target markersvoidsetSettingsChanged()Sets the generic check setting change flag
 
- 
- 
- 
Constructor Detail- 
CheckSettingsChangepublic CheckSettingsChange(CheckUid checkId) Constructs an instance of theCheckSettingsChange- Parameters:
- checkId- The indentifier of the check. May not be- null
 
 
- 
 - 
Method Detail- 
getCheckIdpublic CheckUid getCheckId() Gets the check identifier- Returns:
- The check unqiue identifier. May not be null
 
 - 
getNewSeveritypublic IssueSeverity getNewSeverity() Gest the new severity (if set)- Returns:
- The new severity setting. May be nullif no severity was changed
 
 - 
isDisabledpublic boolean isDisabled() Checks if the check is disabled as a result of the settings change- Returns:
- True if the check is disabled
 
 - 
isEnabledpublic boolean isEnabled() Checks if the check is enabled as a result of the settings change- Returns:
- True if the check is enabled
 
 - 
isSettingsChangedpublic boolean isSettingsChanged() Checks if the custom check settings are changed- Returns:
- True if the check settings are changed
 
 - 
setDisabledpublic void setDisabled() Set disabled state change flag. Must not be called along withsetEnabled()
 - 
setEnabledpublic void setEnabled() Set enabled state change flag. Must not be called along withsetDisabled()
 - 
setNewSeveritypublic void setNewSeverity(IssueSeverity severity) Set new severity for target markers- Parameters:
- severity- The new severity to set. May not be- null
 
 - 
setSettingsChangedpublic void setSettingsChanged() Sets the generic check setting change flag
 
- 
 
-