| |
|
| java.lang.Object org.cougaar.lib.aggagent.query.Alert org.cougaar.lib.aggagent.test.CycleSizeAlert
CycleSizeAlert | public class CycleSizeAlert extends Alert (Code) | | For testing Alert functionality with the old NumberCycle test scaffolding.
A CycleSizeAlert is a concrete Alert that scans the result set for values
below a specified threshold and fires whenever one is discovered. Also
included for convenience are static functions to create default instances,
compatible queries, and a predicate for locating Alerts on the blackboard.
|
CycleSizeAlert | public CycleSizeAlert(int t)(Code) | | |
createDefaultQuery | public static AggregationQuery createDefaultQuery()(Code) | | Because I am supremely lazy, this method automatically feeds suitable
SILK scripts into an AggregationQuery instance.
|
getDefaultAlert | public static CycleSizeAlert getDefaultAlert()(Code) | | Create a "default" instance of CycleSizeAlert. The default value
threshold is 2.
|
handleUpdate | public void handleUpdate()(Code) | | |
|
|
|