public class CompoundTransformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mName
The name of the tranformation.
|
protected java.lang.String |
mNamespace
The namespace of the compound transformation.
|
protected Notifications |
mNotifications
All the notifications associated with the job
|
protected java.util.List<PegasusFile> |
mUses
The list of dependant executables
|
protected java.lang.String |
mVersion
The version
|
Constructor and Description |
---|
CompoundTransformation(java.lang.String name)
Constructor
|
CompoundTransformation(java.lang.String namespace,
java.lang.String name,
java.lang.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(java.lang.Object obj)
Returns whether two objects are equal or not on the basis of the
complete name of the transformation.
|
java.lang.String |
getCompleteName()
Returns the complete name for the transformation.
|
java.util.List<PegasusFile> |
getDependantFiles()
Returns the List of dependant files
|
java.lang.String |
getName()
Returns name of compound transformation.
|
java.lang.String |
getNamespace()
Returns the namespace
|
Notifications |
getNotifications()
Returns all the notifications associated with the job.
|
java.util.Collection<Invoke> |
getNotifications(Invoke.WHEN when)
Returns a collection of all the notifications that need to be
done for a particular condition
|
java.lang.String |
getVersion()
Returns the version
|
int |
hashCode()
Calculate a hash code value for the object to support hash tables.
|
java.lang.String |
toString()
Converts object to String
|
protected java.lang.String mNamespace
protected java.lang.String mName
protected java.lang.String mVersion
protected java.util.List<PegasusFile> mUses
protected Notifications mNotifications
public CompoundTransformation(java.lang.String name)
name
- of transformationpublic CompoundTransformation(java.lang.String namespace, java.lang.String name, java.lang.String version)
namespace
- namespacename
- nameversion
- versionpublic java.lang.String getName()
public java.lang.String getNamespace()
public java.lang.String getVersion()
public void addDependantFile(PegasusFile pf)
pf
- public java.util.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 java.util.Collection<Invoke> getNotifications(Invoke.WHEN when)
when
- the conditionpublic Notifications getNotifications()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getCompleteName()
public java.lang.String toString()
toString
in class java.lang.Object