edu.isi.pegasus.planner.dax
Class Invoke

java.lang.Object
  extended by edu.isi.pegasus.planner.dax.Invoke

public class Invoke
extends Object

The Notification invoke object for the Dax API

Version:
$Revision: 3666 $
Author:
gmehta

Nested Class Summary
static class Invoke.WHEN
          WHEN To INVOKE
 
Field Summary
protected  String mWhat
          What to invoke
protected  Invoke.WHEN mWhen
          WHen to Invoke
 
Constructor Summary
Invoke(Invoke.WHEN when)
          Crete a new Invoke object
Invoke(Invoke.WHEN when, String what)
          Create a new Invoke object
Invoke(Invoke i)
          Copy Constructor
 
Method Summary
 Invoke clone()
          Create a copy of this Invoke object
 String getWhat()
          Get what to invoke
 String getWhen()
          Get when to Invoke
 Invoke setWhat(String what)
          Set what executable to invoke and how
 Invoke setWhen(Invoke.WHEN when)
          Set when to invoke
 String toString()
          Returns the object as String
 void toXML(XMLWriter writer)
           
 void toXML(XMLWriter writer, int indent)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mWhen

protected Invoke.WHEN mWhen
WHen to Invoke


mWhat

protected 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,
              String what)
Create a new Invoke object

Parameters:
when -
what -
Method Detail

getWhen

public String getWhen()
Get when to Invoke

Returns:

setWhen

public Invoke setWhen(Invoke.WHEN when)
Set when to invoke

Parameters:
when -
Returns:

getWhat

public String getWhat()
Get what to invoke

Returns:

setWhat

public Invoke setWhat(String what)
Set what executable to invoke and how

Parameters:
what -
Returns:

clone

public Invoke clone()
Create a copy of this Invoke object

Overrides:
clone in class Object
Returns:

toXML

public void toXML(XMLWriter writer)

toXML

public void toXML(XMLWriter writer,
                  int indent)

toString

public String toString()
Returns the object as String

Overrides:
toString in class Object
Returns:
the description


Copyright © 2011 The University of Southern California. All Rights Reserved.