Java Doc for Workflow.java in  » Science » Cougaar12_4 » org » cougaar » planning » ldm » plan » 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.planning.ldm.plan 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.planning.ldm.plan.Workflow

All known Subclasses:   org.cougaar.planning.ldm.plan.WorkflowImpl,
Workflow
public interface Workflow extends UniqueObject,Annotatable(Code)
Workflow Interface A Workflow is the result of a Task expansion consisting primarily of a partially ordered set of Task instances. There are many sorts of Workflow implementations possible, ranging from a strictly-ordered vector of subtasks, to an unordered Bag, to a set of DAGs, or even a complex, temporally-ordered set.




Method Summary
 AllocationResultaggregateAllocationResults()
     Ask the workflow to compute an AllocationResult based on the AllocationResults of the Workflow's sub Tasks.
 booleanconstraintViolation()
    
 EnumerationgetConstraints()
     Returns an Enumeration which walks over all Constraints that are members of this workflow.
 ConstraintgetNextPendingConstraint()
    
 EnumerationgetPairConstraints(Task constrainedTask, Task constrainingTask)
     Returns and Enumeration which walks over all Constraints that have a pair-wise relationship with two passed tasks.
 TaskgetParentTask()
    
 SubtaskResultsgetSubtaskResults()
     Get allocation results and change information for all subtasks corresponding to the most recently computed received allocation result of the corresponding expansion.
 EnumerationgetTaskConstraints(Task task)
     Returns an Enumeration which walks over all Constraints that have a relationship to the passed Task.
 Enumeration myconstraints = myworkflow.getTaskConstraints(mytask); 

Parameters:
  task - - The task you are checking for Constraints.
 EnumerationgetTasks()
     Return an Enumeration which walks over all tasks which are members of this Workflow.
 EnumerationgetViolatedConstraints()
     Get the constraints that were violated.
 booleanisPropagatingToSubtasks()
     Should subtasks be rescinded by the infrastructure when the expansion this workflow is attached to is rescinded? Defaults to true.



Method Detail
aggregateAllocationResults
AllocationResult aggregateAllocationResults()(Code)
Ask the workflow to compute an AllocationResult based on the AllocationResults of the Workflow's sub Tasks. If the aggregate AllocationResult is undefined (e.g. some of the sub Tasks have not yet been allocated), computePenaltyValue should return null. AllocationResult - the result of aggregating the AllocationResultsof the Workflow using the defined (or default) AllocationResultAggregator.
See Also:   org.cougaar.planning.ldm.plan.AllocationResultAggregator



constraintViolation
boolean constraintViolation()(Code)
Has a constraint been violated? boolean



getConstraints
Enumeration getConstraints()(Code)
Returns an Enumeration which walks over all Constraints that are members of this workflow.
 Enumeration myconstraints = myworkflow.getConstraints(); 
Enumeration{Constraint}



getNextPendingConstraint
Constraint getNextPendingConstraint()(Code)
Return constraint for which constraining event is defined and constraining event is undefined or violated



getPairConstraints
Enumeration getPairConstraints(Task constrainedTask, Task constrainingTask)(Code)
Returns and Enumeration which walks over all Constraints that have a pair-wise relationship with two passed tasks.
 Enumeration myconstraints = myworkflow.getPairConstraints(mytask1, mytask2); 

Parameters:
  constrainedTask - - Task that is constrained
Parameters:
  constrainingTask - - Task that is constraining Enumeration{Constraint}



getParentTask
Task getParentTask()(Code)
 Task parenttask = myworkflow.getParentTask(); 
Task Return the Task for which this Workflow is an expansion.



getSubtaskResults
SubtaskResults getSubtaskResults()(Code)
Get allocation results and change information for all subtasks corresponding to the most recently computed received allocation result of the corresponding expansion. The returned List contains a SubTaskResult for each subtask. Each of the SubTaskResult objects contains: Task - the subtask, boolean - whether the result changed, AllocationResult - the result used by the aggregator for this sub-task. The boolean indicates whether the AllocationResult changed since the last time the collection was cleared by the plugin (which should be the last time the plugin looked at the list). List of SubTaskResultObjects one for each subtask



getTaskConstraints
Enumeration getTaskConstraints(Task task)(Code)
Returns an Enumeration which walks over all Constraints that have a relationship to the passed Task.
 Enumeration myconstraints = myworkflow.getTaskConstraints(mytask); 

Parameters:
  task - - The task you are checking for Constraints. Enumeration{Constraint}



getTasks
Enumeration getTasks()(Code)
Return an Enumeration which walks over all tasks which are members of this Workflow.
 Enumeration mytasks = myworkflow.getTasks(); 
Enumeration{Task}



getViolatedConstraints
Enumeration getViolatedConstraints()(Code)
Get the constraints that were violated. Enumeration{Constraint}



isPropagatingToSubtasks
boolean isPropagatingToSubtasks()(Code)
Should subtasks be rescinded by the infrastructure when the expansion this workflow is attached to is rescinded? Defaults to true. Set to false (meaning the Plugin is responsible for rescinding or reattaching the workflow and its subtasks to an expansion and parent task) by NewWorkflow.setIsPropagatingToSubtasks(isProp); boolean



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