@Configurable public class IfExpr extends AbstractScheduledHealthPredicate
<health:DumpHeap>
<health:IfExpr test="${resin.professional}"/>
</health:DumpHeap>
<health:DumpHeap>
<health:IfExpr test="${mbean('java.lang:type=OperatingSystem').AvailableProcessors >= 1}"/>
</health:DumpHeap>
<health:DumpHeap>
<health:IfExpr test="${user.timezone eq 'PST'}"/>
</health:DumpHeap>
Constructor and Description |
---|
IfExpr() |
Modifier and Type | Method and Description |
---|---|
Expr |
getTest() |
void |
init() |
boolean |
isMatch(HealthEvent healthEvent)
The abstract match returns true, so a child can combine its own
matches with the parent.
|
void |
setTest(Expr test)
Sets the JSP-EL expression value
|
toString
@PostConstruct public void init()
public Expr getTest()
@Configurable public void setTest(Expr test)
public boolean isMatch(HealthEvent healthEvent)
AbstractHealthPredicate
isMatch
doesn't return true.isMatch
in interface HealthPredicate
isMatch
in class AbstractScheduledHealthPredicate