@Configurable public class OnRestart extends AbstractHealthPredicate
<health:SendMail mail="${healthMailer}">
<to>admin@yourdomain.com</to>
<health:OnRestart/>
</health:SendMail>
| Constructor and Description |
|---|
OnRestart() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(HealthEvent healthEvent)
The abstract match returns true, so a child can combine its own
matches with the parent.
|
toStringpublic boolean isMatch(HealthEvent healthEvent)
AbstractHealthPredicateisMatch doesn't return true.isMatch in interface HealthPredicateisMatch in class AbstractHealthPredicate