Package edu.isi.pegasus.planner.dax
Class Invoke
java.lang.Object
edu.isi.pegasus.planner.dax.Invoke
The Notification invoke object for the Dax API
- Version:
- $Revision$
- Author:
- gmehta
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Custom serializer for YAML representation of an Invoke (Hook in 5.0)static enum
WHEN To INVOKE -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
What to invokeprotected Invoke.WHEN
WHen to Invoke -
Constructor Summary
ConstructorsConstructorDescriptionCopy ConstructorInvoke
(Invoke.WHEN when) Crete a new Invoke objectInvoke
(Invoke.WHEN when, String what) Create a new Invoke object -
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a copy of this Invoke objectboolean
Matches two Invoke objectsgetWhat()
Get what to invokegetWhen()
Get when to InvokeSet what executable to invoke and howfinal Invoke
setWhen
(Invoke.WHEN when) Set when to invoketoString()
Returns the object as Stringvoid
toXML
(edu.isi.pegasus.common.util.XMLWriter writer) Writes out XML representation using the writervoid
toXML
(edu.isi.pegasus.common.util.XMLWriter writer, int indent) Writes out XML representation using the writer
-
Field Details
-
mWhen
WHen to Invoke -
mWhat
What to invoke
-
-
Constructor Details
-
Invoke
Copy Constructor- Parameters:
i
- the invoke object
-
Invoke
Crete a new Invoke object- Parameters:
when
- when to invoke
-
Invoke
Create a new Invoke object- Parameters:
when
- when to invokewhat
- the executable with the arguments to invoke
-
-
Method Details
-
getWhen
Get when to Invoke- Returns:
- when the notification occurs
-
setWhen
Set when to invoke- Parameters:
when
- when the notification occurs- Returns:
- Invoke
-
getWhat
Get what to invoke- Returns:
- the executable with arguments that are invoked
-
setWhat
Set what executable to invoke and how- Parameters:
what
- executable with the arguments- Returns:
- the Invoke
-
clone
Create a copy of this Invoke object -
toXML
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer) Writes out XML representation using the writer- Parameters:
writer
- the writer
-
toXML
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent) Writes out XML representation using the writer- Parameters:
writer
- the writerindent
- number pf indent spaces
-
toString
Returns the object as String -
equals
Matches two Invoke objects
-