Java Doc for InventoryPlugin.java in  » Science » Cougaar12_4 » org » cougaar » logistics » plugin » inventory » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.logistics.plugin.inventory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.core.plugin.ComponentPlugin
   org.cougaar.logistics.plugin.inventory.InventoryPlugin

InventoryPlugin
public class InventoryPlugin extends ComponentPlugin implements InventoryManager,ClassicRefillGeneratorInventoryManager,ReconcileSupplyExpanderInventoryManager,LevelOfDetailInventoryManager(Code)
The InventoryPlugin is the Glue of inventory management. It handles all blackboard services for its modules, facilitates inter-module communication and manages the subscriptions. The InventoryPlugin also creates inventories. All modules are called from the InventoryPlugin.

Inner Class :protected class EnclosedPredicate implements UnaryPredicate
Inner Class :protected class EnclosedSchedPredicate implements UnaryPredicate
Inner Class :protected static class OrgActivitiesPredicate implements UnaryPredicate
Inner Class :protected static class ShortfallSumPredicate implements UnaryPredicate
Inner Class :protected static class SupplyTaskPredicate implements TaskSchedulingPolicy.Predicate
Inner Class :protected static class ProjectionTaskPredicate implements TaskSchedulingPolicy.Predicate
Inner Class :protected static class DetInvReqPredicate implements UnaryPredicate
Inner Class :protected static class DetReqInvExpansionPredicate implements UnaryPredicate
Inner Class :protected static class MILPredicate implements UnaryPredicate
Inner Class :protected static class MITopExpansionPredicate implements UnaryPredicate
Inner Class :protected static class AggMILPredicate implements UnaryPredicate
Inner Class :protected static class MIExpansionPredicate implements UnaryPredicate
Inner Class :protected static class OplanPredicate implements UnaryPredicate
Inner Class :protected static class InventoryPredicate implements UnaryPredicate
Inner Class :protected static class RefillAllocPredicate implements UnaryPredicate
Inner Class :static class CommStatusPredicate implements UnaryPredicate
Inner Class :static class DispositionsPredicate implements UnaryPredicate
Inner Class :protected static class RefillPredicate implements UnaryPredicate
Inner Class :static class NonRefillPredicate implements UnaryPredicate
Inner Class :protected class ExpansionPredicate implements UnaryPredicate
Inner Class :protected class InventoryPolicyPredicate implements UnaryPredicate
Inner Class :protected class WithdrawPredicate implements UnaryPredicate
Inner Class :protected class ProjectWithdrawPredicate implements UnaryPredicate
Inner Class :protected class OperatingModePredicate implements UnaryPredicate
Inner Class :protected static class IntRange extends OMCRange
Inner Class :final protected class CougTimeAlarm implements Alarm

Field Summary
protected  AssetUtilsAssetUtils
    
protected  IncrementalSubscriptionDetReqInvExpansionSubscription
    
final public  StringENABLE_CSV_LOGGING
    
final public  StringINVENTORY_FILE
    
final public  IntegerLEVEL_2_MAX
    
final public  IntegerLEVEL_2_MIN
    
final public  StringLEVEL_2_TIME_HORIZON
    
final public  IntegerLEVEL_2_TIME_HORIZON_DEFAULT
    
final public  IntegerLEVEL_6_MAX
    
final public  IntegerLEVEL_6_MIN
    
final public  StringLEVEL_6_TIME_HORIZON
    
final public  IntegerLEVEL_6_TIME_HORIZON_DEFAULT
    
protected  IncrementalSubscriptionLevel6OMSubscription
    
protected  IncrementalSubscriptionMIExpansionSubscription
    
protected  IncrementalSubscriptionMITopExpansionSubscription
    
protected  booleanOMChange
    
final public  StringPREPO_ARRIVAL_OFFSET
    
final public  StringSUPPLY_TYPE
    
final public  StringTASK_SCHEDULER_ON
    
protected  IncrementalSubscriptionaggMILSubscription
    
protected  AllocationAssessorallocationAssessor
    
protected  longbucketSize
    
protected  IncrementalSubscriptioncommStatusSub
    
protected  intcriticalLevel
    
protected  longcycleStamp
    
protected  DetReqAggHandlerdetReqHandler
    
protected  IncrementalSubscriptiondetReqSubscription
     Subscription for aggregatable support requests.
protected  IncrementalSubscriptiondispositions
    
protected  DomainServicedomainService
    
protected  IncrementalSubscriptionexpansionSubscription
    
protected  AllocatorModuleexternalAllocator
    
protected  booleanfillToCapacity
    
protected  booleaninitialized
    
protected  HashSetinventoriesWithDeletions
    
protected  HashMapinventoryHash
    
protected  InventoryPolicyinventoryPolicy
    
protected  IncrementalSubscriptioninventoryPolicySubscription
    
protected  OperatingModelevel2Horizonlevel6Horizon
    
protected  LogisticsOPlanlogOPlan
    
protected  booleanlogToCSV
    
protected  LoggingServicelogger
    
protected  LogisticsPlanModulelogisticsPlan
    
protected  IncrementalSubscriptionmilSubscription
    
protected  StringmyOrgName
    
protected  OrganizationmyOrganization
    
protected transient  ArrayListnewRefills
    
protected  NodeIdentificationServicenodeIdService
    
protected  IncrementalSubscriptionnonrefillSubscription
    
protected  IncrementalSubscriptionoplanSubscription
    
protected  IncrementalSubscriptionorgActSubscription
    
protected static  UnaryPredicateorgsPredicate
    
protected  HashMappluginParams
    
protected  intprepoArrivalOffset
    
protected  longprevLevel6
    
protected  IncrementalSubscriptionprojectWithdrawTaskSubscription
    
protected  TaskSchedulerprojectionTaskScheduler
    
protected  IncrementalSubscriptionrefillAllocationSubscription
    
protected  ComparatorModulerefillComparator
    
protected  RefillGeneratorModulerefillGenerator
    
protected  RefillProjectionGeneratorModulerefillProjGenerator
    
protected  IncrementalSubscriptionrefillSubscription
    
protected  booleanrehydrateInvs
    
protected  intreorderPeriod
    
protected  ScheduleUtilsscheduleUtils
    
protected  IncrementalSubscriptionselfOrganizations
    
protected  IncrementalSubscriptionshortfallSummary
    
protected  longstartTime
    
protected  ExpanderModulesupplyExpander
    
protected  TaskSchedulersupplyTaskScheduler
    
protected  StringsupplyType
    
protected  TaskUtilstaskUtils
    
protected  TimeUtilstimeUtils
    
protected  booleantouchedChangedProjections
    
protected  HashSettouchedInventories
    
protected  booleantouchedProjections
    
protected  booleanturnOnTaskSched
    
protected  UIDServiceuidService
    
protected  IncrementalSubscriptionwithdrawTaskSubscription
    


Method Summary
public  AlarmaddAlarm(long timeOut)
    
protected  voidaddInventory(Inventory inventory)
    
public  AlarmaddRealTimeAlarm(long timeOut)
    
protected  voidaddRehydratedInventories(Collection inventories)
     Add some inventories to the inventoryHash.
public  voidautomatedSelfTest()
    
public  ShortfallInventorycheckForShortfall(Inventory inv)
    
public  voidcheckShortfallStatus(Collection inventories)
    
protected  InventorycreateInventory(Asset resource, String item)
    
protected  booleandidOrgRelationshipsChange()
    
public  voiddisposeOfUnusedMILTask(Inventory inventory, boolean noRefills)
    
protected  voidexecute()
    
protected  booleanexpandIncomingProjections(Collection tasks)
    
protected  voidexpandIncomingRequisitions(Collection tasks)
    
public  InventoryfindOrMakeInventory(Task task)
    
public  InventoryfindOrMakeInventory(Asset resource)
    
protected  CollectiongetActionableInventories()
    
protected  StringgetAgentPrefix(String agentId)
    
protected  AllocatorModulegetAllocatorModule()
    
public  AssetUtilsgetAssetUtils()
    
public  BlackboardServicegetBBService()
    
public  MessageAddressgetClusterId()
    
protected  StringgetClusterSuffix(String clusterId)
    
public  CollectiongetCommStatusSubscription()
    
protected  ComparatorModulegetComparatorModule()
    
public  intgetCriticalLevel()
    
public  longgetCurrentTimeMillis()
    
protected  longgetEndOfLevelSix()
    
public  longgetEndOfLevelTwo()
    
protected  ExpanderModulegetExpanderModule()
    
public  booleangetFillToCapacity()
    
protected  doublegetFuelCapacity(String item)
    
protected  doublegetInitialLevel(String item)
    
public  CollectiongetInventories()
    
public  CollectiongetInventoriesWithDeletions()
    
public  StringgetInventoryType(Inventory inventory)
    
public  longgetLogOPlanEndTime()
    
public  longgetLogOPlanStartTime()
    
public  LoggingServicegetLoggingService(Object requestor)
    
public  intgetMaxLeadTime()
    
public  OrganizationgetMyOrganization()
    
protected  OrganizationgetMyOrganization(Enumeration orgs)
    
public  ListgetNewTaskSplitTimes(Task task)
    
public  longgetNextLegalRefillTime(long today)
    
public  NodeIdentificationServicegetNodeIdService()
    
public  longgetOPlanArrivalInTheaterTime()
    
public  longgetOPlanEndTime()
    
public  longgetOPlanStartTime()
    
public  intgetOrderShipTime()
    
public  StringgetOrgName()
    
protected  voidgetOverlappingTasks(Collection refill_allocations, Verb verb)
    
public  PlanningFactorygetPlanningFactory()
    
public  longgetPrepoArrivalTime()
    
protected  voidgetProviderDates(HashMap providerStartDates, HashMap providerEndDates)
    
protected  RefillGeneratorModulegetRefillGeneratorModule()
    
protected  RefillProjectionGeneratorModulegetRefillProjectionGeneratorModule()
    
public  longgetRefillStartTime()
    
protected  RolegetRole(String supply_type)
    
public  ScheduleUtilsgetScheduleUtils()
    
protected  ListgetSplitTimes(Task task, HashMap providerSched)
    
public  longgetSupplierArrivalTime()
    
public  TaskSchedulergetSupplyTaskScheduler()
    
public  CollectiongetSupplyTasks()
    
public  StringgetSupplyType()
    
public  TaskUtilsgetTaskUtils()
    
protected  CollectiongetTasksWithoutPEs(Collection tasks)
    
public  TimeUtilsgetTimeUtils()
    
public  CollectiongetTouchedInventories()
    
public  UIDServicegetUIDService()
    
protected  CollectiongetUncoveredTasks(Collection tasks)
    
protected  CollectiongetUnprovidedTasks(Collection refill_allocations, Verb verb, HashMap providerStartDates, HashMap providerEndDates)
    
public  voidhandleRemovedRefills(Collection removedTasks)
     When one of our Refill tasks gets removed (Supply or ProjectSupply), remove it from the BG list.
protected  booleanisValidSpan(long start, long end)
    
public  voidload()
    
protected  voidprocessDetReq(Collection addedDRs)
    
protected  booleanprocessRemoves()
    
public  voidpublishAdd(Object o)
    
public  voidpublishAddExpansion(Expansion expansion)
    
public  voidpublishAddToExpansion(Task parent, Task subtask)
    
public  voidpublishChange(Object o)
    
public  booleanpublishRefillTask(Task task, Inventory inventory)
    
public  voidpublishRemove(Object o)
    
protected  HashMapreadParameters()
    
protected  voidrebuildPGCustomerHash()
    
protected  HashMaprelationshipScheduleMap()
    
protected  voidremoveInventories(Enumeration inventories)
    
protected  voidremoveInventory(Inventory inventory)
    
public  voidremoveSubTask(Task taskToRemove)
    
protected  voidresetLogOPlanForInventories()
    
protected  voidsetupOperatingModes()
    
protected  voidsetupSubscriptions()
    
protected  voidsetupTaskSchedulers()
    
public  voidtakeInventorySnapshot(Collection inventories)
    
protected  voidtestBG()
    
public  voidtouchInventory(Inventory inventory)
    
public  voidtouchInventoryForTask(Task taskWithInventory, Inventory inventory)
    
public  voidtouchInventoryWithDeletions(Inventory inventory)
    
protected  SetuniqueProviders()
    
public  voidunload()
    
protected  booleanupdateInventoryPolicy(Collection policies)
    
public  voidupdateStartAndEndTimes()
    

Field Detail
AssetUtils
protected AssetUtils AssetUtils(Code)



DetReqInvExpansionSubscription
protected IncrementalSubscription DetReqInvExpansionSubscription(Code)
Subscription for DetermineRequirements of type MaintainInventory Expansion *



ENABLE_CSV_LOGGING
final public String ENABLE_CSV_LOGGING(Code)



INVENTORY_FILE
final public String INVENTORY_FILE(Code)



LEVEL_2_MAX
final public Integer LEVEL_2_MAX(Code)



LEVEL_2_MIN
final public Integer LEVEL_2_MIN(Code)



LEVEL_2_TIME_HORIZON
final public String LEVEL_2_TIME_HORIZON(Code)



LEVEL_2_TIME_HORIZON_DEFAULT
final public Integer LEVEL_2_TIME_HORIZON_DEFAULT(Code)



LEVEL_6_MAX
final public Integer LEVEL_6_MAX(Code)



LEVEL_6_MIN
final public Integer LEVEL_6_MIN(Code)



LEVEL_6_TIME_HORIZON
final public String LEVEL_6_TIME_HORIZON(Code)



LEVEL_6_TIME_HORIZON_DEFAULT
final public Integer LEVEL_6_TIME_HORIZON_DEFAULT(Code)



Level6OMSubscription
protected IncrementalSubscription Level6OMSubscription(Code)
special subscription to oms only used in subsistence to deal with the level2 -> level6 issue that occurs because subsistence does not generate level 2 tasks



MIExpansionSubscription
protected IncrementalSubscription MIExpansionSubscription(Code)
Subscription for MaintainInventory Expansion PlanElements created by this plugin*



MITopExpansionSubscription
protected IncrementalSubscription MITopExpansionSubscription(Code)
Subscription for MaintainInventory Expansion for Top level MI task (Aggregate task) *



OMChange
protected boolean OMChange(Code)



PREPO_ARRIVAL_OFFSET
final public String PREPO_ARRIVAL_OFFSET(Code)



SUPPLY_TYPE
final public String SUPPLY_TYPE(Code)



TASK_SCHEDULER_ON
final public String TASK_SCHEDULER_ON(Code)



aggMILSubscription
protected IncrementalSubscription aggMILSubscription(Code)
Subscription for the aggregated support request *



allocationAssessor
protected AllocationAssessor allocationAssessor(Code)



bucketSize
protected long bucketSize(Code)



commStatusSub
protected IncrementalSubscription commStatusSub(Code)
Subscription for CommStatus object *



criticalLevel
protected int criticalLevel(Code)



cycleStamp
protected long cycleStamp(Code)



detReqHandler
protected DetReqAggHandler detReqHandler(Code)



detReqSubscription
protected IncrementalSubscription detReqSubscription(Code)
Subscription for aggregatable support requests. *



dispositions
protected IncrementalSubscription dispositions(Code)
Subscription for removed dispositions, need to reconcile with prediction tasks *



domainService
protected DomainService domainService(Code)



expansionSubscription
protected IncrementalSubscription expansionSubscription(Code)
Subscription for Supply/ProjectSupply Expansions *



externalAllocator
protected AllocatorModule externalAllocator(Code)



fillToCapacity
protected boolean fillToCapacity(Code)



initialized
protected boolean initialized(Code)



inventoriesWithDeletions
protected HashSet inventoriesWithDeletions(Code)



inventoryHash
protected HashMap inventoryHash(Code)



inventoryPolicy
protected InventoryPolicy inventoryPolicy(Code)



inventoryPolicySubscription
protected IncrementalSubscription inventoryPolicySubscription(Code)
Subscription for InventoryPolicy *



level2Horizonlevel6Horizon
protected OperatingMode level2Horizonlevel6Horizon(Code)
VTH operating modes



logOPlan
protected LogisticsOPlan logOPlan(Code)



logToCSV
protected boolean logToCSV(Code)



logger
protected LoggingService logger(Code)



logisticsPlan
protected LogisticsPlanModule logisticsPlan(Code)



milSubscription
protected IncrementalSubscription milSubscription(Code)
Subscription for the MIL tasks *



myOrgName
protected String myOrgName(Code)



myOrganization
protected Organization myOrganization(Code)



newRefills
protected transient ArrayList newRefills(Code)



nodeIdService
protected NodeIdentificationService nodeIdService(Code)



nonrefillSubscription
protected IncrementalSubscription nonrefillSubscription(Code)
Subscription for my Non-Refill (Supply & ProjectSupply) tasks *



oplanSubscription
protected IncrementalSubscription oplanSubscription(Code)
Subscription for OPlan object *



orgActSubscription
protected IncrementalSubscription orgActSubscription(Code)



orgsPredicate
protected static UnaryPredicate orgsPredicate(Code)



pluginParams
protected HashMap pluginParams(Code)



prepoArrivalOffset
protected int prepoArrivalOffset(Code)



prevLevel6
protected long prevLevel6(Code)



projectWithdrawTaskSubscription
protected IncrementalSubscription projectWithdrawTaskSubscription(Code)
Subscription for ProjectWithdraw tasks created by this plugin *



projectionTaskScheduler
protected TaskScheduler projectionTaskScheduler(Code)
Subscription for incoming Projection tasks *



refillAllocationSubscription
protected IncrementalSubscription refillAllocationSubscription(Code)
Subscription for Allocations on outgoing Refill (Supply & ProjectSupply) tasks *



refillComparator
protected ComparatorModule refillComparator(Code)



refillGenerator
protected RefillGeneratorModule refillGenerator(Code)



refillProjGenerator
protected RefillProjectionGeneratorModule refillProjGenerator(Code)



refillSubscription
protected IncrementalSubscription refillSubscription(Code)
Subscription for my Refill (Supply & ProjectSupply) tasks *



rehydrateInvs
protected boolean rehydrateInvs(Code)



reorderPeriod
protected int reorderPeriod(Code)



scheduleUtils
protected ScheduleUtils scheduleUtils(Code)



selfOrganizations
protected IncrementalSubscription selfOrganizations(Code)
Subscription for the Organization(s) in which this plugin resides *



shortfallSummary
protected IncrementalSubscription shortfallSummary(Code)



startTime
protected long startTime(Code)



supplyExpander
protected ExpanderModule supplyExpander(Code)



supplyTaskScheduler
protected TaskScheduler supplyTaskScheduler(Code)
Subscription for incoming Supply tasks *



supplyType
protected String supplyType(Code)



taskUtils
protected TaskUtils taskUtils(Code)



timeUtils
protected TimeUtils timeUtils(Code)



touchedChangedProjections
protected boolean touchedChangedProjections(Code)



touchedInventories
protected HashSet touchedInventories(Code)



touchedProjections
protected boolean touchedProjections(Code)



turnOnTaskSched
protected boolean turnOnTaskSched(Code)



uidService
protected UIDService uidService(Code)



withdrawTaskSubscription
protected IncrementalSubscription withdrawTaskSubscription(Code)
Subscription for Withdraw tasks created by this plugin *





Method Detail
addAlarm
public Alarm addAlarm(long timeOut)(Code)



addInventory
protected void addInventory(Inventory inventory)(Code)



addRealTimeAlarm
public Alarm addRealTimeAlarm(long timeOut)(Code)



addRehydratedInventories
protected void addRehydratedInventories(Collection inventories)(Code)
Add some inventories to the inventoryHash. Method called during rehydration to populate inventory hash



automatedSelfTest
public void automatedSelfTest()(Code)
Self-Test



checkForShortfall
public ShortfallInventory checkForShortfall(Inventory inv)(Code)



checkShortfallStatus
public void checkShortfallStatus(Collection inventories)(Code)



createInventory
protected Inventory createInventory(Asset resource, String item)(Code)



didOrgRelationshipsChange
protected boolean didOrgRelationshipsChange()(Code)



disposeOfUnusedMILTask
public void disposeOfUnusedMILTask(Inventory inventory, boolean noRefills)(Code)



execute
protected void execute()(Code)



expandIncomingProjections
protected boolean expandIncomingProjections(Collection tasks)(Code)



expandIncomingRequisitions
protected void expandIncomingRequisitions(Collection tasks)(Code)



findOrMakeInventory
public Inventory findOrMakeInventory(Task task)(Code)



findOrMakeInventory
public Inventory findOrMakeInventory(Asset resource)(Code)



getActionableInventories
protected Collection getActionableInventories()(Code)



getAgentPrefix
protected String getAgentPrefix(String agentId)(Code)



getAllocatorModule
protected AllocatorModule getAllocatorModule()(Code)



getAssetUtils
public AssetUtils getAssetUtils()(Code)



getBBService
public BlackboardService getBBService()(Code)



getClusterId
public MessageAddress getClusterId()(Code)



getClusterSuffix
protected String getClusterSuffix(String clusterId)(Code)



getCommStatusSubscription
public Collection getCommStatusSubscription()(Code)



getComparatorModule
protected ComparatorModule getComparatorModule()(Code)



getCriticalLevel
public int getCriticalLevel()(Code)



getCurrentTimeMillis
public long getCurrentTimeMillis()(Code)



getEndOfLevelSix
protected long getEndOfLevelSix()(Code)
relative to now -- this is correct, isn't it?



getEndOfLevelTwo
public long getEndOfLevelTwo()(Code)
relative to now -- this is correct, isn't it?



getExpanderModule
protected ExpanderModule getExpanderModule()(Code)



getFillToCapacity
public boolean getFillToCapacity()(Code)



getFuelCapacity
protected double getFuelCapacity(String item)(Code)



getInitialLevel
protected double getInitialLevel(String item)(Code)



getInventories
public Collection getInventories()(Code)



getInventoriesWithDeletions
public Collection getInventoriesWithDeletions()(Code)



getInventoryType
public String getInventoryType(Inventory inventory)(Code)



getLogOPlanEndTime
public long getLogOPlanEndTime()(Code)



getLogOPlanStartTime
public long getLogOPlanStartTime()(Code)



getLoggingService
public LoggingService getLoggingService(Object requestor)(Code)



getMaxLeadTime
public int getMaxLeadTime()(Code)



getMyOrganization
public Organization getMyOrganization()(Code)



getMyOrganization
protected Organization getMyOrganization(Enumeration orgs)(Code)



getNewTaskSplitTimes
public List getNewTaskSplitTimes(Task task)(Code)

Parameters:
  task - split times



getNextLegalRefillTime
public long getNextLegalRefillTime(long today)(Code)



getNodeIdService
public NodeIdentificationService getNodeIdService()(Code)



getOPlanArrivalInTheaterTime
public long getOPlanArrivalInTheaterTime()(Code)



getOPlanEndTime
public long getOPlanEndTime()(Code)



getOPlanStartTime
public long getOPlanStartTime()(Code)



getOrderShipTime
public int getOrderShipTime()(Code)



getOrgName
public String getOrgName()(Code)



getOverlappingTasks
protected void getOverlappingTasks(Collection refill_allocations, Verb verb)(Code)



getPlanningFactory
public PlanningFactory getPlanningFactory()(Code)



getPrepoArrivalTime
public long getPrepoArrivalTime()(Code)



getProviderDates
protected void getProviderDates(HashMap providerStartDates, HashMap providerEndDates)(Code)



getRefillGeneratorModule
protected RefillGeneratorModule getRefillGeneratorModule()(Code)



getRefillProjectionGeneratorModule
protected RefillProjectionGeneratorModule getRefillProjectionGeneratorModule()(Code)



getRefillStartTime
public long getRefillStartTime()(Code)



getRole
protected Role getRole(String supply_type)(Code)



getScheduleUtils
public ScheduleUtils getScheduleUtils()(Code)



getSplitTimes
protected List getSplitTimes(Task task, HashMap providerSched)(Code)



getSupplierArrivalTime
public long getSupplierArrivalTime()(Code)



getSupplyTaskScheduler
public TaskScheduler getSupplyTaskScheduler()(Code)



getSupplyTasks
public Collection getSupplyTasks()(Code)



getSupplyType
public String getSupplyType()(Code)



getTaskUtils
public TaskUtils getTaskUtils()(Code)



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



getTimeUtils
public TimeUtils getTimeUtils()(Code)



getTouchedInventories
public Collection getTouchedInventories()(Code)



getUIDService
public UIDService getUIDService()(Code)



getUncoveredTasks
protected Collection getUncoveredTasks(Collection tasks)(Code)



getUnprovidedTasks
protected Collection getUnprovidedTasks(Collection refill_allocations, Verb verb, HashMap providerStartDates, HashMap providerEndDates)(Code)



handleRemovedRefills
public void handleRemovedRefills(Collection removedTasks)(Code)
When one of our Refill tasks gets removed (Supply or ProjectSupply), remove it from the BG list.
Parameters:
  removedTasks - The collection of removed refill tasks.



isValidSpan
protected boolean isValidSpan(long start, long end)(Code)



load
public void load()(Code)



processDetReq
protected void processDetReq(Collection addedDRs)(Code)



processRemoves
protected boolean processRemoves()(Code)



publishAdd
public void publishAdd(Object o)(Code)



publishAddExpansion
public void publishAddExpansion(Expansion expansion)(Code)



publishAddToExpansion
public void publishAddToExpansion(Task parent, Task subtask)(Code)



publishChange
public void publishChange(Object o)(Code)



publishRefillTask
public boolean publishRefillTask(Task task, Inventory inventory)(Code)



publishRemove
public void publishRemove(Object o)(Code)



readParameters
protected HashMap readParameters()(Code)
Read the Plugin parameters(Accepts key/value pairs) Initializes supplyType and inventoryFile



rebuildPGCustomerHash
protected void rebuildPGCustomerHash()(Code)



relationshipScheduleMap
protected HashMap relationshipScheduleMap()(Code)



removeInventories
protected void removeInventories(Enumeration inventories)(Code)



removeInventory
protected void removeInventory(Inventory inventory)(Code)



removeSubTask
public void removeSubTask(Task taskToRemove)(Code)



resetLogOPlanForInventories
protected void resetLogOPlanForInventories()(Code)



setupOperatingModes
protected void setupOperatingModes()(Code)
create and publish VTH Operating Modes



setupSubscriptions
protected void setupSubscriptions()(Code)



setupTaskSchedulers
protected void setupTaskSchedulers()(Code)



takeInventorySnapshot
public void takeInventorySnapshot(Collection inventories)(Code)



testBG
protected void testBG()(Code)



touchInventory
public void touchInventory(Inventory inventory)(Code)



touchInventoryForTask
public void touchInventoryForTask(Task taskWithInventory, Inventory inventory)(Code)



touchInventoryWithDeletions
public void touchInventoryWithDeletions(Inventory inventory)(Code)



uniqueProviders
protected Set uniqueProviders()(Code)



unload
public void unload()(Code)



updateInventoryPolicy
protected boolean updateInventoryPolicy(Collection policies)(Code)



updateStartAndEndTimes
public void updateStartAndEndTimes()(Code)



Methods inherited from org.cougaar.core.plugin.ComponentPlugin
abstract protected void execute()(Code)(Java Doc)
protected ConfigFinder getConfigFinder()(Code)(Java Doc)
abstract protected void setupSubscriptions()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.