public class CompoundTransformation extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
CompoundTransformation(String name)
Constructor
|
CompoundTransformation(String namespace,
String name,
String version)
Overloaded Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
protected String mNamespace
protected String mName
protected String mVersion
protected List<PegasusFile> mUses
protected Notifications mNotifications
public CompoundTransformation(String name)
name
- of transformationpublic 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 conditionpublic Notifications getNotifications()
public boolean equals(Object obj)
public int hashCode()
public String getCompleteName()
Copyright © 2011 The University of Southern California. All Rights Reserved.