Java Doc for WorkEntry.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » workflow » 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 » Workflow Engines » pegasus 2.1.0 » org.griphyn.vdl.workflow 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.griphyn.vdl.workflow.WorkEntry

WorkEntry
public class WorkEntry implements Workflow,Cloneable(Code)
This class is the container for a Workflow record. The record itself contains information about the job or jobs that ran.
author:
   Jens-S. Vöckler
author:
   Mike Wilde
version:
   $Revision: 50 $



Constructor Summary
public  WorkEntry(long id)
     Constructs another empty class.
public  WorkEntry(long id, String basedir, String vogroup, String label, String run)
     Constructs another empty class.

Method Summary
public  voidaddJob(JobStateEntry job)
     Accessor: Adds a job to the bag of jobs.
public  Objectclone()
     Creates and returns a copy of this object.
public  StringgetBaseDirectory()
    
public  DategetCreationTime()
    
public  StringgetCreator()
    
public  longgetID()
    
public  JobStateEntrygetJob(String id)
     Accessor: Obtains an job by the job id.
Parameters:
  id - is the job identifier in the workflow.
public  intgetJobCount()
     Accessor: Counts the number of jobs in this workflow.
public  java.util.ListgetJobList()
     Accessor: A list of all jobs known to this workflow.
public  java.util.MapgetJobMap()
     Accessor: Obtains all jobs references by their id.
public  DategetModificationTime()
    
public  StringgetRunDirectory()
    
public  intgetState()
    
public  StringgetVOGroup()
    
public  StringgetWorkflowLabel()
    
public  IteratoriterateJob()
     Accessor: Provides an iterator over the jobs of this workflow.
public  voidremoveAllJob()
     Accessor: Removes all jobs.
public  JobStateEntryremoveJob(String name)
     Accessor: Removes a specific job.
Parameters:
  name - is the job identifier.
public  voidsetBaseDirectory(String basedir)
     Accessor.
public  voidsetCreationTime(Date ctime)
     Accessor.
public  voidsetCreator(String creator)
     Accessor.
public  voidsetID(long id)
     Accessor.
public  voidsetJob(JobStateEntry job)
     Accessor: Adds a new or overwrites an existing actual argument.
public  voidsetJob(Collection jobs)
     Accessor: Replaces all jobs with the new collection of jobs.
public  voidsetJob(Map jobs)
     Accessor: Replaces all job mappings with new job mappings.
public  voidsetModificationTime(Date mtime)
     Accessor.
public  voidsetRunDirectory(String run)
     Accessor.
public  voidsetState(int state)
     Accessor.
public  voidsetVOGroup(String vogroup)
     Accessor.
public  voidsetWorkflowLabel(String label)
     Accessor.
public  StringtoString()
    


Constructor Detail
WorkEntry
public WorkEntry(long id)(Code)
Constructs another empty class.
Parameters:
  id - is the workflow primary key



WorkEntry
public WorkEntry(long id, String basedir, String vogroup, String label, String run)(Code)
Constructs another empty class.
Parameters:
  id - is the workflow primary key
Parameters:
  basedir - is the base directory
Parameters:
  vogroup - is the VO group identifier
Parameters:
  label - is the workflow label
Parameters:
  run - is the workflow run directory




Method Detail
addJob
public void addJob(JobStateEntry job)(Code)
Accessor: Adds a job to the bag of jobs.
Parameters:
  job - is the job to add.
See Also:   JobStateEntry



clone
public Object clone()(Code)
Creates and returns a copy of this object. a new instance with a deep copy of everything.



getBaseDirectory
public String getBaseDirectory()(Code)
Accessor
See Also:   WorkEntry.setBaseDirectory(String)



getCreationTime
public Date getCreationTime()(Code)
Accessor
See Also:   WorkEntry.setCreationTime(Date)



getCreator
public String getCreator()(Code)
Accessor
See Also:   WorkEntry.setCreator(String)



getID
public long getID()(Code)
Accessor
See Also:   WorkEntry.setID(long)



getJob
public JobStateEntry getJob(String id)(Code)
Accessor: Obtains an job by the job id.
Parameters:
  id - is the job identifier in the workflow. a reference to the job of this name.
See Also:   JobStateEntry



getJobCount
public int getJobCount()(Code)
Accessor: Counts the number of jobs in this workflow. the number of jobs in the internal bag.



getJobList
public java.util.List getJobList()(Code)
Accessor: A list of all jobs known to this workflow. This list is read-only. an array with JobStateEntry elements.
See Also:   JobStateEntry



getJobMap
public java.util.Map getJobMap()(Code)
Accessor: Obtains all jobs references by their id. The map is a read-only map to avoid modifications outside the API. a map with all jobs known to this workflow
See Also:   JobStateEntry



getModificationTime
public Date getModificationTime()(Code)
Accessor
See Also:   WorkEntry.setModificationTime(Date)



getRunDirectory
public String getRunDirectory()(Code)
Accessor
See Also:   WorkEntry.setRunDirectory(String)



getState
public int getState()(Code)
Accessor
See Also:   WorkEntry.setState(int)



getVOGroup
public String getVOGroup()(Code)
Accessor
See Also:   WorkEntry.setVOGroup(String)



getWorkflowLabel
public String getWorkflowLabel()(Code)
Accessor
See Also:   WorkEntry.setWorkflowLabel(String)



iterateJob
public Iterator iterateJob()(Code)
Accessor: Provides an iterator over the jobs of this workflow. an iterator to walk the JobStateEntry list with.
See Also:   JobStateEntry



removeAllJob
public void removeAllJob()(Code)
Accessor: Removes all jobs. Effectively empties the bag.



removeJob
public JobStateEntry removeJob(String name)(Code)
Accessor: Removes a specific job.
Parameters:
  name - is the job identifier. the object that was removed, or null, if not found.
See Also:   JobStateEntry



setBaseDirectory
public void setBaseDirectory(String basedir)(Code)
Accessor.
Parameters:
  basedir -
See Also:   WorkEntry.getBaseDirectory()



setCreationTime
public void setCreationTime(Date ctime)(Code)
Accessor.
Parameters:
  ctime -
See Also:   WorkEntry.getCreationTime()



setCreator
public void setCreator(String creator)(Code)
Accessor.
Parameters:
  creator -
See Also:   WorkEntry.getCreator()



setID
public void setID(long id)(Code)
Accessor.
Parameters:
  id -
See Also:   WorkEntry.getID()



setJob
public void setJob(JobStateEntry job)(Code)
Accessor: Adds a new or overwrites an existing actual argument.
Parameters:
  job - is a new complete job to enter.
See Also:   JobStateEntry



setJob
public void setJob(Collection jobs)(Code)
Accessor: Replaces all jobs with the new collection of jobs. Note that a collection can be anything in a list or set.
Parameters:
  jobs - is a collection of jobs.
See Also:   JobStateEntry



setJob
public void setJob(Map jobs)(Code)
Accessor: Replaces all job mappings with new job mappings.
Parameters:
  jobs - is a map with job id to job mappings.
See Also:   JobStateEntry



setModificationTime
public void setModificationTime(Date mtime)(Code)
Accessor.
Parameters:
  mtime -
See Also:   WorkEntry.getModificationTime()



setRunDirectory
public void setRunDirectory(String run)(Code)
Accessor.
Parameters:
  run -
See Also:   WorkEntry.getRunDirectory()



setState
public void setState(int state)(Code)
Accessor.
Parameters:
  state -
See Also:   WorkEntry.getState()



setVOGroup
public void setVOGroup(String vogroup)(Code)
Accessor.
Parameters:
  vogroup -
See Also:   WorkEntry.getVOGroup()



setWorkflowLabel
public void setWorkflowLabel(String label)(Code)
Accessor.
Parameters:
  label -
See Also:   WorkEntry.getWorkflowLabel()



toString
public String toString()(Code)
Constructs a sensible line of all internal data points a line containing all internal data.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.