|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.classes.CompoundTransformation
public class CompoundTransformation
A data class to contain compound transformations.
| Field Summary | |
|---|---|
protected String |
mName
The name of the tranformation. |
protected String |
mNamespace
The namespace of the compound transformation. |
protected Notifications |
mNotifications
All the notifications associated with the job |
protected List<PegasusFile> |
mUses
The list of dependant executables |
protected String |
mVersion
The version |
| Constructor Summary | |
|---|---|
CompoundTransformation(String name)
Constructor |
|
CompoundTransformation(String namespace,
String name,
String version)
Overloaded Constructor |
|
| Method Summary | |
|---|---|
void |
addDependantFile(PegasusFile pf)
Adds a dependant file. |
void |
addNotification(Invoke invoke)
Adds a Invoke object correpsonding to a notification. |
void |
addNotifications(Notifications invokes)
Adds all the notifications passed to the underlying container. |
boolean |
equals(Object obj)
Returns whether two objects are equal or not on the basis of the complete name of the transformation. |
String |
getCompleteName()
Returns the complete name for the transformation. |
List<PegasusFile> |
getDependantFiles()
Returns the List of dependant files |
String |
getName()
Returns name of compound transformation. |
String |
getNamespace()
Returns the namespace |
Notifications |
getNotifications()
Returns all the notifications associated with the job. |
Collection<Invoke> |
getNotifications(Invoke.WHEN when)
Returns a collection of all the notifications that need to be done for a particular condition |
String |
getVersion()
Returns the version |
int |
hashCode()
Calculate a hash code value for the object to support hash tables. |
String |
toString()
Converts object to String |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String mNamespace
protected String mName
protected String mVersion
protected List<PegasusFile> mUses
protected Notifications mNotifications
| Constructor Detail |
|---|
public CompoundTransformation(String name)
name - of transformation
public CompoundTransformation(String namespace,
String name,
String version)
namespace - namespacename - nameversion - version| Method Detail |
|---|
public String getName()
public String getNamespace()
public String getVersion()
public void addDependantFile(PegasusFile pf)
pf - public List<PegasusFile> getDependantFiles()
public void addNotification(Invoke invoke)
invoke - the invoke object containing the notificationpublic void addNotifications(Notifications invokes)
invokes - the notifications to be addedpublic Collection<Invoke> getNotifications(Invoke.WHEN when)
when - the condition
public Notifications getNotifications()
public boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.
public int hashCode()
hashCode in class Objectpublic String getCompleteName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||