public abstract class PRQAStatus extends Object implements PRQAReading, Serializable
Each object holds a list of notifactions associated with that status.
And a list of disbaled categories...should be removed in final iteration.
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger |
protected List<String> |
notifications |
protected QaFrameworkReportSettings |
settings |
protected HashMap<StatusCategory,Number> |
thresholds |
Constructor and Description |
---|
PRQAStatus() |
Modifier and Type | Method and Description |
---|---|
void |
addNotification(String message) |
Set<StatusCategory> |
getCategories() |
HashMap<StatusCategory,Number> |
getReadouts(StatusCategory... categories)
Gets all associated readouts.
|
QaFrameworkReportSettings |
getSettings() |
HashMap<StatusCategory,Number> |
getThresholds() |
abstract boolean |
isValid()
Tests whether the result contains valid values.
|
void |
setSettings(QaFrameworkReportSettings settings) |
void |
setThresholds(HashMap<StatusCategory,Number> thresholds) |
abstract String |
toHtml()
Returns a table representation of the the toString method.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReadout, setReadout
protected HashMap<StatusCategory,Number> thresholds
protected static final Logger logger
protected QaFrameworkReportSettings settings
public void addNotification(String message)
addNotification
in interface PRQAReading
public HashMap<StatusCategory,Number> getThresholds()
getThresholds
in interface PRQAReading
public void setThresholds(HashMap<StatusCategory,Number> thresholds)
setThresholds
in interface PRQAReading
public HashMap<StatusCategory,Number> getReadouts(StatusCategory... categories) throws PrqaException
getReadouts
in interface PRQAReading
PrqaException
public abstract boolean isValid()
public abstract String toHtml()
public void setSettings(QaFrameworkReportSettings settings)
setSettings
in interface PRQAReading
public QaFrameworkReportSettings getSettings()
getSettings
in interface PRQAReading
public Set<StatusCategory> getCategories()
getCategories
in interface PRQAReading
Copyright © 2016–2022. All rights reserved.