| java.lang.Object org.cougaar.planning.servlet.PredExamples
PredExamples | public class PredExamples (Code) | | These are example "public static boolean" methods for use by the
PlanViewServlet as examples in the "Advanced Search".
The file PlanViewServlet.DEFAULT_PRED_FILENAME uses these as
examples, such as:
(org.cougaar.planning.servlet.PredExamples:examplePredicateA (this))
.
|
Method Summary | |
public static boolean | examplePredicateA(Object o) This is an example of a "public static boolean" predicate for the
predicate search -- this one happens to check for a Task ,
but one could write arbitrarily complicated code here.
This is here for the examples only! Other "utility" predicates should
be placed in a different class (e.g. | public static boolean | examplePredicateB(Task t, String verbStr) | public static boolean | examplePredicateC(Object o, String verbStr, double minConf) |
examplePredicateA | public static boolean examplePredicateA(Object o)(Code) | | This is an example of a "public static boolean" predicate for the
predicate search -- this one happens to check for a Task ,
but one could write arbitrarily complicated code here.
This is here for the examples only! Other "utility" predicates should
be placed in a different class (e.g. "SearchUtils")!
|
|
|