Bertrand Delacretaz created SLING-3020:
------------------------------------------
Summary: Immutable HealthCheck Results
Key: SLING-3020
URL: https://issues.apache.org/jira/browse/SLING-3020
Project: Sling
Issue Type: Improvement
Components: Health Check
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
Priority: Minor
As discussed on list, I'll change the Result class to be immutable and allow
for both single-value and log-based results:
Result is immutable.
Result has two constructors, one that takes a Status and a message String and
one that takes a ResultLog, and sets the Result status to ResultLog.getStatus().
The ResultLog is a list of messages, each with a Status and a message String.
It's getStatus() method returns the highest Status that was added to it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira