| org.cougaar.lib.filter.UTILTaskChecker
UTILTaskChecker | public interface UTILTaskChecker (Code) | | Interface for listeners that check task consistency.
|
Method Summary | |
void | handleIllFormedTask(Task t) Got an ill-formed task, now handle it, probably by
publishing a failed plan element for the task. | boolean | isTaskWellFormed(Task t) Examines task to see if task looks like what the plugin
expects it to look like.
This is plugin-dependent. |
handleIllFormedTask | void handleIllFormedTask(Task t)(Code) | | Got an ill-formed task, now handle it, probably by
publishing a failed plan element for the task.
Parameters: t - badly-formed task to handle |
isTaskWellFormed | boolean isTaskWellFormed(Task t)(Code) | | Examines task to see if task looks like what the plugin
expects it to look like.
This is plugin-dependent. For example, the
planning factor for unloading a ship is 2 days, but
if the task's time window is 1 day, the task is
not "well formed." Duration is a common test, but others
could also be a good idea...
This is an explicit contract with the plugin
that feeds this plugins tasks, governing which tasks
are possible for this plugin to handle.
Parameters: t - Task to check for consistency true if task is OK |
|
|