public class Transformation extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Invoke> |
mInvokes |
protected String |
mName
Name of the transformation
|
protected String |
mNamespace
Namespace of the Transformation
|
protected List<CatalogType> |
mUses
List of executable of files used by the transformation
|
protected String |
mVersion
Version of the transformation
|
Constructor and Description |
---|
Transformation(String name)
Create a new Transformation object
|
Transformation(String namespace,
String name,
String version)
Create a new Transformation Object
|
Transformation(Transformation t)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
Transformation |
addInvoke(Invoke.WHEN when,
String what)
Add a Notification for this Transformation
|
Transformation |
addInvoke(Invoke invoke)
Add a Notification for this Transformation
|
Transformation |
addInvokes(List<Invoke> invokes)
Add a List of Notifications for this Transformation
|
Transformation |
addNotification(Invoke.WHEN when,
String what)
Add a Notification for this Transformation same as addInvoke()
|
Transformation |
addNotifications(List<Invoke> invokes)
Add a List of Notifications for this Transformation.
|
boolean |
equals(Object obj) |
List<Invoke> |
getInvoke()
Return the list of Notification objects
|
String |
getName()
Get the name of the transformation
|
String |
getNamespace()
Get the namespace of the transformation
|
List<Invoke> |
getNotification()
Return the list of Notification objects (same as getInvoke()
|
List<CatalogType> |
getUses()
Get the List of files and/or executables being used by the transformation
|
String |
getVersion()
Get the version of the transformation
|
int |
hashCode() |
String |
toString() |
void |
toXML(edu.isi.pegasus.common.util.XMLWriter writer) |
void |
toXML(edu.isi.pegasus.common.util.XMLWriter writer,
int indent) |
Transformation |
uses(CatalogType fileorexecutable)
Set the file or executable being used by the transformation
|
Transformation |
uses(List<CatalogType> filesorexecutables)
Set the List of files and/or executables being used by the transformation
|
protected String mNamespace
protected String mName
protected String mVersion
protected List<CatalogType> mUses
public Transformation(String name)
name
- public Transformation(Transformation t)
t
- public String getName()
public String getNamespace()
public String getVersion()
public List<Invoke> getNotification()
public Transformation addInvoke(Invoke.WHEN when, String what)
when
- what
- public Transformation addNotification(Invoke.WHEN when, String what)
when
- what
- public Transformation addInvoke(Invoke invoke)
invoke
- public Transformation addInvokes(List<Invoke> invokes)
invokes
- public Transformation addNotifications(List<Invoke> invokes)
invokes
- public Transformation uses(CatalogType fileorexecutable)
fileorexecutable
- public Transformation uses(List<CatalogType> filesorexecutables)
filesorexecutables
- public List<CatalogType> getUses()
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer)
public void toXML(edu.isi.pegasus.common.util.XMLWriter writer, int indent)