Package edu.isi.pegasus.planner.dax
Class Invoke
- java.lang.Object
-
- edu.isi.pegasus.planner.dax.Invoke
-
public class Invoke extends java.lang.ObjectThe Notification invoke object for the Dax API- Version:
- $Revision$
- Author:
- gmehta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoke.WHENWHEN To INVOKE
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmWhatWhat to invokeprotected Invoke.WHENmWhenWHen to Invoke
-
Constructor Summary
Constructors Constructor Description Invoke(Invoke i)Copy ConstructorInvoke(Invoke.WHEN when)Crete a new Invoke objectInvoke(Invoke.WHEN when, java.lang.String what)Create a new Invoke object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Invokeclone()Create a copy of this Invoke objectjava.lang.StringgetWhat()Get what to invokejava.lang.StringgetWhen()Get when to InvokeInvokesetWhat(java.lang.String what)Set what executable to invoke and howInvokesetWhen(Invoke.WHEN when)Set when to invokejava.lang.StringtoString()Returns the object as StringvoidtoXML(XMLWriter writer)voidtoXML(XMLWriter writer, int indent)
-
-
-
Field Detail
-
mWhen
protected Invoke.WHEN mWhen
WHen to Invoke
-
mWhat
protected java.lang.String mWhat
What to invoke
-
-
Constructor Detail
-
Invoke
public Invoke(Invoke i)
Copy Constructor- Parameters:
i-
-
Invoke
public Invoke(Invoke.WHEN when)
Crete a new Invoke object- Parameters:
when-
-
Invoke
public Invoke(Invoke.WHEN when, java.lang.String what)
Create a new Invoke object- Parameters:
when-what-
-
-
Method Detail
-
getWhen
public java.lang.String getWhen()
Get when to Invoke- Returns:
-
setWhen
public Invoke setWhen(Invoke.WHEN when)
Set when to invoke- Parameters:
when-- Returns:
-
getWhat
public java.lang.String getWhat()
Get what to invoke- Returns:
-
setWhat
public Invoke setWhat(java.lang.String what)
Set what executable to invoke and how- Parameters:
what-- Returns:
-
clone
public Invoke clone()
Create a copy of this Invoke object- Overrides:
clonein classjava.lang.Object- Returns:
-
toXML
public void toXML(XMLWriter writer)
-
toXML
public void toXML(XMLWriter writer, int indent)
-
toString
public java.lang.String toString()
Returns the object as String- Overrides:
toStringin classjava.lang.Object- Returns:
- the description
-
-