Class Invoke

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

public class Invoke extends Object
The Notification invoke object for the Dax API
Version:
$Revision$
Author:
gmehta
  • Field Details

    • mWhen

      protected Invoke.WHEN mWhen
      WHen to Invoke
    • mWhat

      protected String mWhat
      What to invoke
  • Constructor Details

    • Invoke

      public Invoke(Invoke i)
      Copy Constructor
      Parameters:
      i - the invoke object
    • Invoke

      public Invoke(Invoke.WHEN when)
      Crete a new Invoke object
      Parameters:
      when - when to invoke
    • Invoke

      public Invoke(Invoke.WHEN when, String what)
      Create a new Invoke object
      Parameters:
      when - when to invoke
      what - the executable with the arguments to invoke
  • Method Details

    • getWhen

      public String getWhen()
      Get when to Invoke
      Returns:
      when the notification occurs
    • setWhen

      public final Invoke setWhen(Invoke.WHEN when)
      Set when to invoke
      Parameters:
      when - when the notification occurs
      Returns:
      Invoke
    • getWhat

      public String getWhat()
      Get what to invoke
      Returns:
      the executable with arguments that are invoked
    • setWhat

      public Invoke setWhat(String what)
      Set what executable to invoke and how
      Parameters:
      what - executable with the arguments
      Returns:
      the Invoke
    • clone

      public Invoke clone()
      Create a copy of this Invoke object
      Overrides:
      clone in class Object
      Returns:
      Invoke
    • 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 writer
      indent - number pf indent spaces
    • toString

      public String toString()
      Returns the object as String
      Overrides:
      toString in class Object
      Returns:
      the description
    • equals

      public boolean equals(Object obj)
      Matches two Invoke objects
      Overrides:
      equals in class Object
      Parameters:
      obj - object to being compared against
      Returns:
      true if the pfn and all the attributes match, false otherwise.