Java Doc for CustomVishnuAggregatorPlugin.java in  » Science » Cougaar12_4 » org » cougaar » lib » vishnu » client » custom » 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.lib.vishnu.client.custom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.lib.vishnu.client.VishnuAggregatorPlugin
   org.cougaar.lib.vishnu.client.custom.CustomVishnuAggregatorPlugin

All known Subclasses:   org.cougaar.logistics.plugin.trans.GenericVishnuPlugin,
CustomVishnuAggregatorPlugin
public class CustomVishnuAggregatorPlugin extends VishnuAggregatorPlugin (Code)
Uses CustomDataXMLize to create Vishnu objects either directly or through XML.

Data translation process left to the writer of XMLizer created in createXMLizer.





Method Summary
protected  XMLProcessorcreateXMLProcessor()
     Overrides VishnuPlugin.createXMLProcessor

Use a different data xmlizer to create the data xml stream to send to vishnu,
specifically, TranscomDataXMLize.

protected  XMLizercreateXMLizer(boolean direct)
    
public  voidprepareVishnuObjects(List alpObjects, Collection changed, List vishnuTasks, List vishnuResources, List changedVishnuResources, Document formatDoc, SchedulingData schedData)
     Creates lists of Vishnu objects.



Method Detail
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.




createXMLizer
protected XMLizer createXMLizer(boolean direct)(Code)
override to use a different XMLizer



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:
  tasksAndResources - - Cougaar tasks and resources to translate
Parameters:
  vishnuTasks - - list to add Vishnu tasks to
Parameters:
  vishnuResources - - list to add Vishnu resources to
Parameters:
  objectFormat - - contains field type info necessary to create fields on Vishnu objects
Parameters:
  timeOps - - time object used when making Vishnu dates



Fields inherited from org.cougaar.lib.vishnu.client.VishnuAggregatorPlugin
protected UTILFilterCallback mpTaskCallback(Code)(Java Doc)
protected UTILAggregationCallback myAggCallback(Code)(Java Doc)
protected UTILWorkflowCallback myWorkflowCallback(Code)(Java Doc)
protected Map taskToTriplet(Code)(Java Doc)
protected Map tripletToTask(Code)(Java Doc)
protected Map uidToMPTask(Code)(Java Doc)

Methods inherited from org.cougaar.lib.vishnu.client.VishnuAggregatorPlugin
protected void addAggregations(NewComposition comp, Vector parentTasks, Date start, Date end)(Code)(Java Doc)
protected AssetGroup addToDirectObject(Task task, Vector objects)(Code)(Java Doc)
public boolean addToPrevious(Vector tasklist, Asset anAsset, Date start, Date end, Date setupStart, Date wrapupEnd)(Code)(Java Doc)
protected void addToPreviousSetupWrapup(Asset anAsset, Asset directObject, Date start, Date end, String info)(Code)(Java Doc)
public void changeExpansion(Expansion exp)(Code)(Java Doc)
protected void checkMPTaskDO(MPTask mpTask)(Code)(Java Doc)
protected void cleanupAggregation(Asset a, List tasklist, List aggResults)(Code)(Java Doc)
protected UTILAggregationCallback createAggCallback()(Code)(Java Doc)
protected UTILFilterCallback createThreadCallback(UTILGenericListener bufferingThread)(Code)(Java Doc)
protected XMLResultHandler createXMLResultHandler()(Code)(Java Doc)
protected Vector enumToVector(Enumeration en)(Code)(Java Doc)
protected MPTask findMPTask(List results)(Code)(Java Doc)
protected boolean forgetTripletToTask(Object subtask)(Code)(Java Doc)
protected AspectValue[] getAVsForAgg(Asset a, List g, Date start, Date end)(Code)(Java Doc)
protected UTILAggregationCallback getAggCallback()(Code)(Java Doc)
protected Map getAspectValuesMap(List g, Date start, Date end)(Code)(Java Doc)
protected Asset getAssetFromMPTask(MPTask combinedTask)(Code)(Java Doc)
protected Vector getDirectObjectsForAgg(List parentTasks)(Code)(Java Doc)
protected Task getEncapsulatedTask(Asset asset, Date start, Date end)(Code)(Java Doc)
protected Enumeration getEnumWithNewParents(Vector oldParents, Vector tasklist)(Code)(Java Doc)
protected MPTask getMPTask(UID parentUID)(Code)(Java Doc)
protected Vector getPreferencesForAgg(Asset a, List g, Date start, Date end)(Code)(Java Doc)
protected Vector getPrepPhrasesForAgg(Asset a, List g)(Code)(Java Doc)
protected Verb getVerbForAgg(List g)(Code)(Java Doc)
protected UTILFilterCallback getWorkflowCallback()(Code)(Java Doc)
public void handleConstraintViolation(Expansion exp, List violatedConstraints)(Code)(Java Doc)
public void handleFailedExpansion(Expansion exp, List failedSubTasks)(Code)(Java Doc)
public void handleIllFormedTask(Task t)(Code)(Java Doc)
public void handleMultiAssignment(Vector tasks, Asset asset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore)(Code)(Java Doc)
public void handleRemovedAggregation(Aggregation agg)(Code)(Java Doc)
public boolean handleRescindedAggregation(Aggregation agg)(Code)(Java Doc)
public void handleSuccessfulAggregation(Aggregation agg)(Code)(Java Doc)
public void handleSuccessfulExpansion(Expansion exp, List successfulSubtasks)(Code)(Java Doc)
public boolean interestingExpandedTask(Task t)(Code)(Java Doc)
public boolean interestingParentTask(Task t)(Code)(Java Doc)
public void localSetup()(Code)(Java Doc)
protected AspectValue[] makeAVsFromPrefs(Vector prefs)(Code)(Java Doc)
protected AspectValue[] makeAVsFromPrefs(Vector prefs, Date start, Date end)(Code)(Java Doc)
public void makePlanElement(Vector tasklist, Asset anAsset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore)(Code)(Java Doc)
public boolean needToRescind(Aggregation agg)(Code)(Java Doc)
public void publishChangedExpansion(Expansion exp)(Code)(Java Doc)
protected void publishList(List toPublish)(Code)(Java Doc)
public void publishRemovalOfAggregation(Aggregation aggToRemove)(Code)(Java Doc)
protected void rememberTripletToTask(String taskKey, Task subtask)(Code)(Java Doc)
protected AssetGroup removeFromDirectObject(Task removedTask, MPTask mpTask)(Code)(Java Doc)
public void reportChangedAggregation(Aggregation agg)(Code)(Java Doc)
public void reportChangedExpansion(Expansion exp)(Code)(Java Doc)
public void setupFilters()(Code)(Java Doc)
public boolean wantToChangeExpansion(Expansion exp)(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.