| |
|
| org.cougaar.core.plugin.ComponentPlugin org.cougaar.logistics.plugin.demand.DemandForecastPlugin
DemandForecastPlugin | public class DemandForecastPlugin extends ComponentPlugin implements UtilsProvider(Code) | | The DemandForecastPlugin is the Glue of demand generation.
It handles all blackboard services for its modules,
facilitates inter-module communication and manages the
subscriptions.
All modules are called from the DemandForecastPlugin.
|
Inner Class :public class OrgActivityPredicate implements UnaryPredicate | |
TASK_SCHEDULER_OFF | final public String TASK_SCHEDULER_OFF(Code) | | |
executePeriod | protected long executePeriod(Code) | | |
automatedSelfTest | public void automatedSelfTest()(Code) | | Self-Test
|
checkAndProcessHashSubscriptions | protected void checkAndProcessHashSubscriptions(HashSet justExpandedPGs)(Code) | | This method goes through the subscriptions hash table and sees if any
of the subscriptions have changed. For each subscription thats changed
its PGs are collected in a set (so it doesn't exist more than once). The
resultant PG collection are set off to be processed (ie get the MEI and
GP task and re expand ).
|
execute | protected void execute()(Code) | | |
getCurrentTimeMillis | public long getCurrentTimeMillis()(Code) | | |
getLogOPlanEndTime | public long getLogOPlanEndTime()(Code) | | |
getLogOPlanStartTime | public long getLogOPlanStartTime()(Code) | | |
getPeriod | protected long getPeriod()(Code) | | |
getStartOfPeriod | protected long getStartOfPeriod(long timeIn)(Code) | | Get the time in milliseconds that would be midnight of the day
before or first thing in the morning today.
- the time in milliseconds that represents first thing in themorning today |
getTasksWithoutPEs | protected Collection getTasksWithoutPEs(Collection tasks)(Code) | | Filters out tasks that already have PEs -- fix for bug #1695
Parameters: tasks - - possibly from added list Collection - tasks that have no PEs |
projectSupplySet | public Collection projectSupplySet(Task parentTask, Asset consumedItem)(Code) | | Returns a subset of project supply tasks for a given asset, for a given parent generate
projection task's UID.
Parameters: parentTask - the generate projects tasks that was expanded all project supply tasks of the parent generate projections task |
publishAddExpansion | public void publishAddExpansion(Expansion expansion)(Code) | | |
publishAddToExpansion | public void publishAddToExpansion(Task parent, Task subtask)(Code) | | |
setupSubscriptions | protected void setupSubscriptions()(Code) | | |
unload | public void unload()(Code) | | |
updateStartAndEndTimes | public void updateStartAndEndTimes()(Code) | | |
|
|
|