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


java.lang.Object
   org.griphyn.cPlanner.code.gridstart.VDSPOSTScript

All known Subclasses:   org.griphyn.cPlanner.code.gridstart.ExitCode,  org.griphyn.cPlanner.code.gridstart.ExitPOST,
VDSPOSTScript
abstract public class VDSPOSTScript implements POSTScript(Code)
An abstract implementation of the interface, that is a superclass for all the VDS supplied postscripts. These postscripts work can parse kickstart records.
author:
   Karan Vahi vahi@isi.edu
version:
   $Revision: 50 $


Field Summary
final public static  StringEXITCODE_OUTPUT_SUFFIX
     The suffix for the exitcode output file, that is generated at the submit host.
protected  StringmExitParserPath
     The path to the exitcode client that parses the exit status of the kickstart.
protected  LogManagermLogger
     The LogManager object which is used to log all the messages.
protected  booleanmPostScriptDebug
     A boolean indicating whether to turn the debug on for the postscript or not.
protected  StringmPostScriptProperties
     The properties that need to be passed to the postscript invocation on the command line in the java format.
protected  PegasusPropertiesmProps
     The object holding all the properties pertaining to Pegasus.
protected  StringmSubmitDir
     The submit directory where the submit files are being generated for the workflow.

Constructor Summary
public  VDSPOSTScript()
     The default constructor.

Method Summary
protected  voidappendProperty(StringBuffer sb, String key, String value)
     Appends a property to the StringBuffer, in the java command line format.
public  booleanconstruct(SubInfo job, String key)
     Constructs the postscript that has to be invoked on the submit host after the job has executed on the remote end.
abstract protected  StringgetDefaultExitCodePath()
     Returns the path to exitcode that is to be used on the kickstart output.
protected  StringgetPostScriptLogFile(SubInfo job)
     Returns the path to the postscript log file for a job.
protected  StringgetPostScriptProperties(PegasusProperties properties)
     Returns the properties that need to be passed to the the postscript invocation in the java format.
public  voidinitialize(PegasusProperties properties, String path, String submitDir)
     Initialize the POSTScript implementation.

Field Detail
EXITCODE_OUTPUT_SUFFIX
final public static String EXITCODE_OUTPUT_SUFFIX(Code)
The suffix for the exitcode output file, that is generated at the submit host.



mExitParserPath
protected String mExitParserPath(Code)
The path to the exitcode client that parses the exit status of the kickstart. The client is run as a postscript. It also includes the option to the command since at present it is same for all. It is $PEGASUS_HOME/bin/exitcode (no -n)!



mLogger
protected LogManager mLogger(Code)
The LogManager object which is used to log all the messages.



mPostScriptDebug
protected boolean mPostScriptDebug(Code)
A boolean indicating whether to turn the debug on for the postscript or not.



mPostScriptProperties
protected String mPostScriptProperties(Code)
The properties that need to be passed to the postscript invocation on the command line in the java format.



mProps
protected PegasusProperties mProps(Code)
The object holding all the properties pertaining to Pegasus.



mSubmitDir
protected String mSubmitDir(Code)
The submit directory where the submit files are being generated for the workflow.




Constructor Detail
VDSPOSTScript
public VDSPOSTScript()(Code)
The default constructor.




Method Detail
appendProperty
protected void appendProperty(StringBuffer sb, String key, String value)(Code)
Appends a property to the StringBuffer, in the java command line format.
Parameters:
  sb - the StringBuffer to append the property to.
Parameters:
  key - the property.
Parameters:
  value - the property value.



construct
public boolean construct(SubInfo job, String key)(Code)
Constructs the postscript that has to be invoked on the submit host after the job has executed on the remote end. The postscript usually works on the xml output generated by kickstart. The postscript invoked is exitcode that is shipped with VDS, and can usually be found at $PEGASUS_HOME/bin/exitcode.

The postscript is constructed and populated as a profile in the DAGMAN namespace.
Parameters:
  job - the SubInfo object containing the job descriptionof the job that has to be enabled on the grid.
Parameters:
  key - the key for the profile that has to be inserted. boolean true if postscript was generated,else false.




getDefaultExitCodePath
abstract protected String getDefaultExitCodePath()(Code)
Returns the path to exitcode that is to be used on the kickstart output. the path to the exitcode script to be invoked.



getPostScriptLogFile
protected String getPostScriptLogFile(SubInfo job)(Code)
Returns the path to the postscript log file for a job.
Parameters:
  job - the SubInfo containing job description



getPostScriptProperties
protected String getPostScriptProperties(PegasusProperties properties)(Code)
Returns the properties that need to be passed to the the postscript invocation in the java format. It is of the form "-Dprop1=value1 -Dprop2=value2 .."
Parameters:
  properties - the properties object the properties list, else empty string.



initialize
public void initialize(PegasusProperties properties, String path, String submitDir)(Code)
Initialize the POSTScript implementation.
Parameters:
  properties - the PegasusProperties object containing allthe properties required by Pegasus.
Parameters:
  path - the path to the POSTScript on the submit host.
Parameters:
  submitDir - the submit directory where the submit file for the jobhas to be generated.



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.