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


org.griphyn.vdl.dax.DAX
   org.griphyn.vdl.dax.Job

Job
public class Job extends DAX implements Cloneable(Code)
This class defines the specifics of a job to run in an abstract manner. All filename references still refer to logical files. All references transformations also refer to logical transformtions, though through Profile physical location hints can be passed.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 366 $
See Also:   Profile
See Also:   Filename



Constructor Summary
public  Job()
     Default ctor: Note that a job must be named.
public  Job(String namespace, String name, String version, String id)
     Convenience ctor.
public  Job(String namespace, String name, String version, String id, String dv_namespace, String dv_name, String dv_version)
     Convenience ctor.

Method Summary
public  voidaddArgument(Leaf vArgument)
    
public  voidaddArgument(int index, Leaf vArgument)
     Accessor: Inserts an argument at an arbitrary place into the list.
public  booleanaddProfile(Profile vProfile)
     Accessor: Appends a profile definition to the list of profiles.
public  voidaddProfile(int index, Profile vProfile)
     Accessor: Inserts a profile definition at an arbitrary position into the list of profiles.
public  voidaddUses(Filename filename)
     Accessor: Appends a filename to the list of used filenames.
public  voidaddUses(int index, Filename filename)
     Accessor: Inserts a logical filename at an arbitrary position into the list of used filenames.
public  Objectclone()
     Creates and returns a copy of this object.
public  EnumerationenumerateArgument()
     Accessor: Provides an iterator for the argument fragment list.
public  EnumerationenumerateProfile()
     Accessor: Provides an iterator for the Profile list.
public  EnumerationenumerateUses()
     Accessor: Provides an iterator for the used Filename list.
public  LeafgetArgument(int index)
     Accessor: Obtains an argument fragment from an arbitrary position.
Parameters:
  index - is the place to look up the element at.
public  Leaf[]getArgument()
    
public  intgetArgumentCount()
     Accessor: Obtains the count of fragments in the argument list.
public  java.util.ListgetArgumentList()
     Accessor: Gets an array of all values that constitute the current argument line.
public  StringgetChain()
     Accessor: Obtains the XML list attribute which contains the chain of compound transformations that lead to this job.
public  StringgetDVName()
     Accessor: Obtains the current name from the DV that created this job.
public  StringgetDVNamespace()
     Accessor: Obtains the current namespace from the DV that created this job.
public  StringgetDVVersion()
     Accessor: Obtains the current version from the DV that created this job.
public  StringgetID()
     Accessor: Obtains the unique ID of this job.
public  intgetLevel()
    
public  StringgetName()
     Accessor: Obtains the current name of the job.
public  StringgetNamespace()
     Accessor: Obtains the current namespace that is used for the definition.
public  ProfilegetProfile(int index)
     Accessor: Obtains an Profile at an arbitrary position.
public  Profile[]getProfile()
     Accessor: Obtains all profiles.
public  intgetProfileCount()
     Accessor: Counts the number of profile specifications known to this job.
public  java.util.ListgetProfileList()
     Accessor: Obtain a read-only copy of the list of all Profile specifications.
public  FilenamegetStderr()
     Accessor: Obtains the current setting of stderr redirection.
public  FilenamegetStdin()
     Accessor: Obtains the current setting of stdin redirection.
public  FilenamegetStdout()
     Accessor: Obtains the current setting of stdout redirection.
public  FilenamegetUses(int index)
     Accessor: Obtains an Filename at an arbitrary position.
public  Filename[]getUses()
     Accessor: Obtain a copy of the list of all Filename specifications, that were part of the arguments that generated this job.
public  intgetUsesCount()
     Accessor: Counts the number of argument-referenced logical filenames known to this job.
public  java.util.ListgetUsesList()
     Accessor: Obtain a copy of the list of all Filename specifications, that were part of the arguments that generated this job.
public  StringgetVersion()
     Accessor: Obtains the current version of the definition.
public  IteratoriterateArgument()
     Accessor: Provides an iterator to the internal list of all commandline argument elements.
public  IteratoriterateProfile()
     Accessor: Provides an iterator to the internal list of all profiles.
public  IteratoriterateUses()
     Accessor: Provides an iterator to the internal list of used filenames.
public  ListIteratorlistIterateArgument()
     Accessor: Provides a list iterator to the internal list of all commandline argument elements.
public  ListIteratorlistIterateArgument(int start)
     Accessor: Provides a list iterator to the internal list of all commandline argument elements.
public  ListIteratorlistIterateProfile()
     Accessor: Provides a list iterator to the internal list of all profiles.
public  ListIteratorlistIterateProfile(int start)
     Accessor: Provides a list iterator to the internal list of all profiles.
public  ListIteratorlistIterateUses()
     Accessor: Provides a list iterator to the internal list of all used filenames.
public  ListIteratorlistIterateUses(int start)
     Accessor: Provides a list iterator to the internal list of all used filenames.
public  voidremoveAllArgument()
     Accessor: Removes all commandline arguments pieces.
public  voidremoveAllProfile()
     Accessor: Removes all profile declarations.
public  voidremoveAllUses()
     Accessor: Removes all known Filenames.
public  LeafremoveArgument(int index)
     Accessor: Removes a commandline argument fragment from the commandline.
public  ProfileremoveProfile(int index)
     Accessor: Removes a profile.
public  FilenameremoveUses(int index)
     Accessor: Removes a used filename from the list of argument-referenced LFNs.
public  voidsetArgument(int index, Leaf vArgument)
     Accessor: Overwrites an commandline argument fragment with a new one.
public  voidsetArgument(Leaf[] argumentArray)
     Accessor: Replace the commandline arguments with a new commandline argument fragment list.
public  voidsetArgument(java.util.Collection arguments)
     Accessor: Replace the commandline arguments with a new commandline argument fragment list.
public  voidsetChain(String chain)
     Accessor: Sets the XML list attribute which contains the chain of compound transformations that lead to this job.
public  voidsetDV(String namespace, String name, String version)
     Accessor: Sets or overwrites the DV FQDN triple.
public  voidsetDVName(String name)
     Accessor: Sets or overwrites the DV name identifier.
public  voidsetDVNamespace(String namespace)
     Accessor: Sets or overwrites the DV namespace identifier.
public  voidsetDVVersion(String version)
     Accessor: Sets or overwrites the DV version identifier.
public  voidsetID(String id)
     Accessor: Sets the unique ID of this job.
public  voidsetLevel(int level)
     Accessor.
public  voidsetName(String name)
     Accessor: Sets the current name of the job.
public  voidsetNamespace(String namespace)
     Accessor: Sets or overwrites the TR namespace identifier.
public  voidsetProfile(int index, Profile vProfile)
    
public  voidsetProfile(Profile[] profileArray)
     Accessor: Replace the internal profile list with a new list.
public  voidsetProfile(java.util.Collection profiles)
     Accessor: Replace the internal profile list with a new list.
public  voidsetStderr(Filename f)
     Accessor: Sets or releases the stderr redirection.
public  voidsetStdin(Filename f)
     Accessor: Sets or releases the stdin redirection.
public  voidsetStdout(Filename f)
     Accessor: Sets or releases the stdout redirection.
public  voidsetUses(int index, Filename vFilename)
     Accessor: Overwrites a used filename with a new LFN.
public  voidsetUses(Filename[] filenameArray)
     Accessor: Replace the internal list of used LFNs with a new list.
public  voidsetUses(java.util.Collection filenames)
     Accessor: Replace the internal list of used LFNs with a new list.
public  voidsetVersion(String version)
     Accessor: Sets the version of the definition.
public  voidtoString(Writer stream)
     Converts the active state into something meant for human consumption. The method will be called when recursively traversing the instance tree.
Parameters:
  stream - is a stream opened and ready for writing.
public  voidtoXML(Writer stream, String indent, String namespace)
     Dump the state of the current element as XML output.


Constructor Detail
Job
public Job()(Code)
Default ctor: Note that a job must be named.



Job
public Job(String namespace, String name, String version, String id)(Code)
Convenience ctor. Any job must be named. The job id will be assembled from the name.
Parameters:
  namespace - is the namespace that the TR resides in.
Parameters:
  name - is the name of the job as logical TR identifier.
Parameters:
  version - is a version information string of the TR.
Parameters:
  id - is a short DAX-unique ID to distinguish this jobfrom other jobs in the same DAG.
See Also:   org.griphyn.vdl.classes.Transformation



Job
public Job(String namespace, String name, String version, String id, String dv_namespace, String dv_name, String dv_version)(Code)
Convenience ctor. Any job must be named. The job id will be assembled from the name.
Parameters:
  namespace - is the namespace that the TR resides in.
Parameters:
  name - is the name of the job as logical TR identifier.
Parameters:
  version - is a version information string of the TR.
Parameters:
  id - is a short DAX-unique ID to distinguish this jobfrom other jobs in the same DAG.
Parameters:
  dv_namespace - is the namespace of the DV for this job.
Parameters:
  dv_name - is the name of the DV that produced this job.
Parameters:
  dv_version - is the version of the DV for this job.
See Also:   org.griphyn.vdl.classes.Transformation




Method Detail
addArgument
public void addArgument(Leaf vArgument)(Code)
Accessor: Adds an argument to the list of arguments
Parameters:
  vArgument - is an argument fragment to append to the command linearguments.
See Also:   Leaf



addArgument
public void addArgument(int index, Leaf vArgument) throws IndexOutOfBoundsException(Code)
Accessor: Inserts an argument at an arbitrary place into the list. Each component in this vector with an index greater or equal to the specified index is shifted upward to have an index one greater than the value it had previously.
Parameters:
  index - is the position to insert an argument
Parameters:
  vArgument - is the argument fragment to insert at thespecified place.
exception:
  IndexOutOfBounds - if the argument does not fit into the list.
See Also:   Job.setArgument(int,Leaf)
See Also:   Job.getArgument(int)
See Also:   Leaf



addProfile
public boolean addProfile(Profile vProfile)(Code)
Accessor: Appends a profile definition to the list of profiles. This method provides extra magic, ensuring unique namespace and key identifiers in the profile list. If the ns:id of the profile to add already exists in the list, the list entry will be overwritten with the new version.

FIXME: The profile should carry a state to signal appending or replacing.
Parameters:
  vProfile - is the profile to append to remembered profiles. false for a new elements, and true,if an existing element was overwritten.
See Also:   Profile




addProfile
public void addProfile(int index, Profile vProfile) throws IndexOutOfBoundsException(Code)
Accessor: Inserts a profile definition at an arbitrary position into the list of profiles. Each component in this vector with an index greater or equal to the specified index is shifted upward to have an index one greater than the value it had previously.
Parameters:
  index - is the position to insert the definitions into.
Parameters:
  vProfile - is the profile to append to remembered profiles.
exception:
  IndexOutOfBounds - if the argument does not fit into the list.
See Also:   Job.setProfile(int,Profile)
See Also:   Job.getProfile(int)
See Also:   Profile



addUses
public void addUses(Filename filename)(Code)
Accessor: Appends a filename to the list of used filenames.
Parameters:
  filename - is the LFN to append to remembered filenames.
exception:
  IndexOutOfBounds - if the argument does not fit into the list.
See Also:   Filename



addUses
public void addUses(int index, Filename filename) throws IndexOutOfBoundsException(Code)
Accessor: Inserts a logical filename at an arbitrary position into the list of used filenames. Each component in this vector with an index greater or equal to the specified index is shifted upward to have an index one greater than the value it had previously.
Parameters:
  index - is the position to insert the definitions into.
Parameters:
  filename - is the LFN to append to remembered filenames.
exception:
  IndexOutOfBounds - if the argument does not fit into the list.
See Also:   Job.setUses(int,Filename)
See Also:   Job.getUses(int)
See Also:   Filename



clone
public Object clone()(Code)
Creates and returns a copy of this object. a new instance, semi-deep copy



enumerateArgument
public Enumeration enumerateArgument()(Code)
Accessor: Provides an iterator for the argument fragment list. the iterator for the commandline argument fragments.
See Also:   Leaf
See Also:   java.util.Enumeration



enumerateProfile
public Enumeration enumerateProfile()(Code)
Accessor: Provides an iterator for the Profile list. the iterator for the Profile list.
See Also:   Profile
See Also:   java.util.Enumeration



enumerateUses
public Enumeration enumerateUses()(Code)
Accessor: Provides an iterator for the used Filename list. the iterator for the Filename list.
See Also:   Filename
See Also:   java.util.Enumeration



getArgument
public Leaf getArgument(int index) throws IndexOutOfBoundsException(Code)
Accessor: Obtains an argument fragment from an arbitrary position.
Parameters:
  index - is the place to look up the element at. the argument fragment at the specified place.
throws:
  IndexOutOfBoundsException - if the referenced position doesnot exist.
See Also:   Job.addArgument(int,Leaf)
See Also:   Job.setArgument(int,Leaf)
See Also:   Leaf



getArgument
public Leaf[] getArgument()(Code)
Accessor: Obtains the complete commandline arguments an array with all commandline argument fragments inside.
See Also:   Job.setArgument(Leaf[])
See Also:   Leaf



getArgumentCount
public int getArgumentCount()(Code)
Accessor: Obtains the count of fragments in the argument list. the number of arguments in the commandline argument list.
See Also:   Leaf



getArgumentList
public java.util.List getArgumentList()(Code)
Accessor: Gets an array of all values that constitute the current argument line. This list is read-only. an array with a mixture of either PseudoText orFilename values.
See Also:   Job.setArgument(Collection)
See Also:   PseudoText
See Also:   Filename



getChain
public String getChain()(Code)
Accessor: Obtains the XML list attribute which contains the chain of compound transformations that lead to this job. the chain, which may be empty or even null.
See Also:   Job.setChain(String)



getDVName
public String getDVName()(Code)
Accessor: Obtains the current name from the DV that created this job. Note that a name is part of the key for any DV. the name the DV resides in.
See Also:   Job.setDVName(java.lang.String)
See Also:   Job.setDV(String,String,String)



getDVNamespace
public String getDVNamespace()(Code)
Accessor: Obtains the current namespace from the DV that created this job. Note that a namespace is part of the key for any DV. the namespace the DV resides in, or null, if no namespacewas defined.
See Also:   Job.setDVNamespace(java.lang.String)
See Also:   Job.setDV(String,String,String)



getDVVersion
public String getDVVersion()(Code)
Accessor: Obtains the current version from the DV that created this job. Note that a version is part of the key triple for any DV. the version the DV resides in, or null, if no versionwas defined.
See Also:   Job.setDVVersion(java.lang.String)
See Also:   Job.setDV(String,String,String)



getID
public String getID()(Code)
Accessor: Obtains the unique ID of this job. The ID will be used in references in the dependency list. The unique id from this job.
See Also:   Job.setID(String)
See Also:   Child



getLevel
public int getLevel()(Code)
Accessor
See Also:   Job.setLevel(int)



getName
public String getName()(Code)
Accessor: Obtains the current name of the job. the name as logical TR string for this job.
See Also:   Job.setName(String)



getNamespace
public String getNamespace()(Code)
Accessor: Obtains the current namespace that is used for the definition. Note that a namespace is part of the key for any logical transformation. the namespace the definition resides in, or null, ifno namespace was defined.
See Also:   Job.setNamespace(java.lang.String)



getProfile
public Profile getProfile(int index) throws IndexOutOfBoundsException(Code)
Accessor: Obtains an Profile at an arbitrary position.
Parameters:
  index - is the place to look up the element at.
exception:
  IndexOutOfBoundsException - if the referenced position does not exist.
See Also:   Job.addProfile(int,Profile)
See Also:   Job.setProfile(int,Profile)
See Also:   Profile



getProfile
public Profile[] getProfile()(Code)
Accessor: Obtains all profiles. an array with all profiles inside.
See Also:   Job.setProfile(Profile[])
See Also:   Profile



getProfileCount
public int getProfileCount()(Code)
Accessor: Counts the number of profile specifications known to this job. the number of profiles
See Also:   Profile



getProfileList
public java.util.List getProfileList()(Code)
Accessor: Obtain a read-only copy of the list of all Profile specifications. a collection containing the scheduler specific environmentoptions for the job.
See Also:   Job.setProfile(Collection)
See Also:   Profile



getStderr
public Filename getStderr()(Code)
Accessor: Obtains the current setting of stderr redirection. a filename which will be associated with stderr,or null, if unset.
See Also:   Job.setStderr(Filename)



getStdin
public Filename getStdin()(Code)
Accessor: Obtains the current setting of stdin redirection. a filename which will be associated with stdin,or null, if unset.
See Also:   Job.setStdin(Filename)



getStdout
public Filename getStdout()(Code)
Accessor: Obtains the current setting of stdout redirection. a filename which will be associated with stdout,or null, if unset.
See Also:   Job.setStdout(Filename)



getUses
public Filename getUses(int index) throws IndexOutOfBoundsException(Code)
Accessor: Obtains an Filename at an arbitrary position.
Parameters:
  index - is the place to look up the element at.
exception:
  IndexOutOfBoundsException - if the referenced position does not exist.
See Also:   Job.addUses(int,Filename)
See Also:   Job.setUses(int,Filename)
See Also:   Filename



getUses
public Filename[] getUses()(Code)
Accessor: Obtain a copy of the list of all Filename specifications, that were part of the arguments that generated this job. an array containing the used filenames for the job.
See Also:   Job.setUses(Filename[])
See Also:   Filename



getUsesCount
public int getUsesCount()(Code)
Accessor: Counts the number of argument-referenced logical filenames known to this job. the number of LFNs.
See Also:   Filename



getUsesList
public java.util.List getUsesList()(Code)
Accessor: Obtain a copy of the list of all Filename specifications, that were part of the arguments that generated this job. This list is read-only. an array containing the used filenames for the job.
See Also:   Job.setUses(Collection)
See Also:   Filename



getVersion
public String getVersion()(Code)
Accessor: Obtains the current version of the definition. A version is an integral part of a logical transformation. the version number of this definition, or null, if noversion number was defined.
See Also:   Job.setVersion(java.lang.String)



iterateArgument
public Iterator iterateArgument()(Code)
Accessor: Provides an iterator to the internal list of all commandline argument elements. an iterator to walk the list with.



iterateProfile
public Iterator iterateProfile()(Code)
Accessor: Provides an iterator to the internal list of all profiles. an iterator to walk the list with.



iterateUses
public Iterator iterateUses()(Code)
Accessor: Provides an iterator to the internal list of used filenames. an iterator to walk the list with.



listIterateArgument
public ListIterator listIterateArgument()(Code)
Accessor: Provides a list iterator to the internal list of all commandline argument elements. a list iterator to walk the list with.



listIterateArgument
public ListIterator listIterateArgument(int start)(Code)
Accessor: Provides a list iterator to the internal list of all commandline argument elements.
Parameters:
  start - is the start index a list iterator to walk the list with.



listIterateProfile
public ListIterator listIterateProfile()(Code)
Accessor: Provides a list iterator to the internal list of all profiles. a list iterator to walk the list with.



listIterateProfile
public ListIterator listIterateProfile(int start)(Code)
Accessor: Provides a list iterator to the internal list of all profiles.
Parameters:
  start - is the start index a list iterator to walk the list with.



listIterateUses
public ListIterator listIterateUses()(Code)
Accessor: Provides a list iterator to the internal list of all used filenames. a list iterator to walk the list with.



listIterateUses
public ListIterator listIterateUses(int start)(Code)
Accessor: Provides a list iterator to the internal list of all used filenames.
Parameters:
  start - is the start index a list iterator to walk the list with.



removeAllArgument
public void removeAllArgument()(Code)
Accessor: Removes all commandline arguments pieces.



removeAllProfile
public void removeAllProfile()(Code)
Accessor: Removes all profile declarations.
See Also:   Profile



removeAllUses
public void removeAllUses()(Code)
Accessor: Removes all known Filenames.
See Also:   Filename



removeArgument
public Leaf removeArgument(int index)(Code)
Accessor: Removes a commandline argument fragment from the commandline. Each component in this vector with an index greater or equal to the specified index is shifted downward to have an index one smaller than the value it had previously. The size of this vector is decreased by 1.
Parameters:
  index - is the position to remove the argument fragment from. the removed fragment.
exception:
  ArrayIndexOutOfBoundsException - if the index was invalid.
See Also:   Leaf



removeProfile
public Profile removeProfile(int index)(Code)
Accessor: Removes a profile. Each component in this vector with an index greater or equal to the specified index is shifted downward to have an index one smaller than the value it had previously. The size of this vector is decreased by 1.
Parameters:
  index - is the position to remove the profile from. the removed Profile.
exception:
  ArrayIndexOutOfBoundsException - if the index was invalid.
See Also:   Profile



removeUses
public Filename removeUses(int index)(Code)
Accessor: Removes a used filename from the list of argument-referenced LFNs. Each component in this vector with an index greater or equal to the specified index is shifted downward to have an index one smaller than the value it had previously. The size of this vector is decreased by 1.
Parameters:
  index - is the position to remove the filename from. the removed Filename
exception:
  ArrayIndexOutOfBoundsException - if the index was invalid.
See Also:   Filename



setArgument
public void setArgument(int index, Leaf vArgument) throws IndexOutOfBoundsException(Code)
Accessor: Overwrites an commandline argument fragment with a new one.
Parameters:
  index - is the position to overwrite the element at
Parameters:
  vArgument - is the new commandline argument fragment.
exception:
  IndexOutOfBoundsException - if the position does not exist.
See Also:   Leaf
See Also:   Job.addArgument(int,Leaf)
See Also:   Job.getArgument(int)



setArgument
public void setArgument(Leaf[] argumentArray)(Code)
Accessor: Replace the commandline arguments with a new commandline argument fragment list.
Parameters:
  argumentArray - is the new commandline argument array.
See Also:   Job.getArgument()
See Also:   Leaf



setArgument
public void setArgument(java.util.Collection arguments)(Code)
Accessor: Replace the commandline arguments with a new commandline argument fragment list.
Parameters:
  arguments - is the new commandline argument collection.
See Also:   Job.getArgumentList()
See Also:   Leaf



setChain
public void setChain(String chain)(Code)
Accessor: Sets the XML list attribute which contains the chain of compound transformations that lead to this job.
Parameters:
  chain - is the chain, which may be empty or even null.
See Also:   Job.getChain()



setDV
public void setDV(String namespace, String name, String version)(Code)
Accessor: Sets or overwrites the DV FQDN triple.
Parameters:
  namespace - is the DV's namespace, may be null
Parameters:
  name - is the DV name, should not be null
Parameters:
  version - is the DV version, may be null
See Also:   Job.getDVNamespace()
See Also:   Job.getDVName()
See Also:   Job.getDVVersion()
See Also:   Job.setDVNamespace(String)
See Also:   Job.setDVName(String)
See Also:   Job.setDVVersion(String)



setDVName
public void setDVName(String name)(Code)
Accessor: Sets or overwrites the DV name identifier.
Parameters:
  name -
See Also:   Job.getDVName()
See Also:   Job.setDV(String,String,String)



setDVNamespace
public void setDVNamespace(String namespace)(Code)
Accessor: Sets or overwrites the DV namespace identifier.
Parameters:
  namespace -
See Also:   Job.getDVNamespace()
See Also:   Job.setDV(String,String,String)



setDVVersion
public void setDVVersion(String version)(Code)
Accessor: Sets or overwrites the DV version identifier.
Parameters:
  version -
See Also:   Job.getDVVersion()
See Also:   Job.setDV(String,String,String)



setID
public void setID(String id)(Code)
Accessor: Sets the unique ID of this job. The ID will be used in references in the dependency list. Please do not use this function.
Parameters:
  id - is the new unique id for this job.
See Also:   Job.getID()
See Also:   Child



setLevel
public void setLevel(int level)(Code)
Accessor.
Parameters:
  level -
See Also:   Job.getLevel()



setName
public void setName(String name)(Code)
Accessor: Sets the current name of the job. If the job ID was not set previously, it will be set to the job name. FIXME: We need to use the primary key triple for logical TR!
Parameters:
  name - the new name as logical TR string for this job.
See Also:   Job.getName()



setNamespace
public void setNamespace(String namespace)(Code)
Accessor: Sets or overwrites the TR namespace identifier.
Parameters:
  namespace -
See Also:   Job.getNamespace()



setProfile
public void setProfile(int index, Profile vProfile) throws IndexOutOfBoundsException(Code)
Accessor: Overwrites a profile with a new profile
Parameters:
  index - is the position to overwrite the profile at.
Parameters:
  vProfile - is the new profile to use in overwriting.
exception:
  IndexOutOfBoundsException - if the position does not exist.
See Also:   Profile
See Also:   Job.addProfile(int,Profile)
See Also:   Job.getProfile(int)



setProfile
public void setProfile(Profile[] profileArray)(Code)
Accessor: Replace the internal profile list with a new list.
Parameters:
  profileArray - is the new list of profiles to use for the job.
See Also:   Job.getProfile()
See Also:   Profile



setProfile
public void setProfile(java.util.Collection profiles)(Code)
Accessor: Replace the internal profile list with a new list.
Parameters:
  profiles - is the new list of profiles to use for the job.
See Also:   Job.getProfileList()
See Also:   Profile



setStderr
public void setStderr(Filename f)(Code)
Accessor: Sets or releases the stderr redirection.
Parameters:
  f - is a filename which will be associated with stderr,or null to unset.
See Also:   Job.getStderr()



setStdin
public void setStdin(Filename f)(Code)
Accessor: Sets or releases the stdin redirection.
Parameters:
  f - is a filename which will be associated with stdin,or null to release redirection.
See Also:   Job.getStdin()



setStdout
public void setStdout(Filename f)(Code)
Accessor: Sets or releases the stdout redirection.
Parameters:
  f - is a filename which will be associated with stdout,or null to unset.
See Also:   Job.getStdout()



setUses
public void setUses(int index, Filename vFilename) throws IndexOutOfBoundsException(Code)
Accessor: Overwrites a used filename with a new LFN.
Parameters:
  index - is the position to overwrite the LFN at.
Parameters:
  vFilename - is the new LFN to use in overwriting.
exception:
  IndexOutOfBoundsException - if the position does not exist.
See Also:   Job.addUses(int,Filename)
See Also:   Job.getUses(int)
See Also:   Filename



setUses
public void setUses(Filename[] filenameArray)(Code)
Accessor: Replace the internal list of used LFNs with a new list.
Parameters:
  filenameArray - is the new list of argument-referencedfilenames to use for the job.
See Also:   Job.getUses()
See Also:   Filename



setUses
public void setUses(java.util.Collection filenames)(Code)
Accessor: Replace the internal list of used LFNs with a new list.
Parameters:
  filenames - is a new collection of argument-referencedfilenames to use for the job.
See Also:   Job.getUsesList()
See Also:   Filename



setVersion
public void setVersion(String version)(Code)
Accessor: Sets the version of the definition.
Parameters:
  version -
See Also:   Job.getVersion()



toString
public void toString(Writer stream) throws IOException(Code)
Converts the active state into something meant for human consumption. The method will be called when recursively traversing the instance tree.
Parameters:
  stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output.



toXML
public void toXML(Writer stream, String indent, String namespace) throws IOException(Code)
Dump the state of the current element as XML output. This function traverses all sibling classes as necessary, and converts the data into pretty-printed XML output. The stream interface should be able to handle large output efficiently.
Parameters:
  stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output.
Parameters:
  indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal.
Parameters:
  namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace.




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