| org.cougaar.lib.vishnu.client.VishnuAllocatorPlugin org.cougaar.lib.vishnu.client.custom.CustomVishnuAllocatorPlugin
All known Subclasses: org.cougaar.logistics.plugin.trans.TranscomVishnuPlugin,
CustomVishnuAllocatorPlugin | public class CustomVishnuAllocatorPlugin extends VishnuAllocatorPlugin (Code) | | Uses CustomDataXMLize to create Vishnu objects either directly or through XML.
|
Method Summary | |
protected XMLProcessor | createXMLProcessor() Overrides VishnuPlugin.createXMLProcessor
Use a different data xmlizer to create the data xml stream to send to vishnu,
specifically, TranscomDataXMLize. | protected XMLizer | createXMLizer(boolean direct) | protected double | getConfidence(Asset asset) Highest confidence if physical asset, medium confidence if an organization.
Used by handleAssignment to figure out confidence of allocation. | public void | prepareVishnuObjects(List alpObjects, Collection changed, List vishnuTasks, List vishnuResources, List changedVishnuResources, Document formatDoc, SchedulingData schedData) Creates lists of Vishnu objects. |
createXMLProcessor | protected XMLProcessor createXMLProcessor()(Code) | | Overrides VishnuPlugin.createXMLProcessor
Use a different data xmlizer to create the data xml stream to send to vishnu,
specifically, TranscomDataXMLize.
|
prepareVishnuObjects | public void prepareVishnuObjects(List alpObjects, Collection changed, List vishnuTasks, List vishnuResources, List changedVishnuResources, Document formatDoc, SchedulingData schedData)(Code) | | Creates lists of Vishnu objects.
Parameters: alpObjects - - Cougaar tasks and resources to translate Parameters: vishnuTasks - - list to add Vishnu tasks to Parameters: vishnuResources - - list to add Vishnu resources to Parameters: formatDoc - - contains field type info necessary to create fields on Vishnu objects Parameters: schedData - - scheduling data object used when making Vishnu dates |
Methods inherited from org.cougaar.lib.vishnu.client.VishnuAllocatorPlugin | protected UTILAllocationCallback createAllocCallback()(Code)(Java Doc) protected PlanElement createAllocation(Task task, Asset asset, Date start, Date end, double confidence, Role role, double quantity)(Code)(Java Doc) protected UTILFilterCallback createThreadCallback(UTILGenericListener bufferingThread)(Code)(Java Doc) protected UTILAllocationCallback getAllocCallback()(Code)(Java Doc) protected double getConfidence(Asset asset)(Code)(Java Doc) protected Role getRole()(Code)(Java Doc) protected UTILFilterCallback getWorkflowCallback()(Code)(Java Doc) public void handleAssignment(org.cougaar.planning.ldm.plan.Task task, Asset asset, Date start, Date end, Date setupStart, Date wrapupEnd, String contribs, String taskText)(Code)(Java Doc) public void handleIllFormedTask(Task t)(Code)(Java Doc) public void handleRemovedAlloc(Allocation alloc)(Code)(Java Doc) public boolean handleRescindedAlloc(Allocation alloc)(Code)(Java Doc) public void handleSuccessfulAlloc(Allocation alloc)(Code)(Java Doc) public boolean interestingNotification(Task t)(Code)(Java Doc) public boolean needToRescind(Allocation alloc)(Code)(Java Doc) public void publishRemovalOfAllocation(Allocation alloc)(Code)(Java Doc) public void setupFilters()(Code)(Java Doc)
|
|
|