|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.jdl.Ad
org.glite.jdl.DagAd
public class DagAd
This class is not yet functional
Field Summary | |
---|---|
static int |
STRING_CURRENT
Used to print the current DagAd |
static int |
STRING_MULTI_LINES
Used to print the DagAd over multi lines |
static int |
STRING_NO_NODES
Used to print the simple DagAd without nodes |
static int |
STRING_SUBMISSION
Used to print the submission DagAd |
Fields inherited from class org.glite.jdl.Ad |
---|
jobAd, TYPE_AD, TYPE_BOOL, TYPE_EXPRESSION, TYPE_INTEGER, TYPE_REAL, TYPE_STRING, TYPE_UNKNOWN |
Constructor Summary | |
---|---|
DagAd()
The default empty constructor |
Method Summary | |
---|---|
void |
addDependency(java.lang.String jobFather,
java.lang.String jobSon)
Add the couple father, son to the DagAd dependencies |
void |
addNode(Node node)
Add a new Ad with the specified String node |
void |
check()
|
void |
removeDependency(java.lang.String jobFather,
java.lang.String jobSon)
Remove the couple father, son from the DagAd dependencies if it has been already set |
void |
removeNode(java.lang.String node)
Remove the specified job from the DagAd |
void |
setAttribute(java.lang.String attrName,
condor.classad.Expr attrValue)
Set an Expr Attribute to the DagAd. |
java.lang.String |
toString(int level)
Return the Dag into a string representation |
Methods inherited from class org.glite.jdl.Ad |
---|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, appendValue, attributes, clear, clone, copy, delAttribute, fromFile, fromRecord, fromString, getAd, getAdValue, getBooleanValue, getConstant, getDoubleValue, getIntValue, getStringValue, getType, getValue, hasAttribute, isSet, lookup, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, size, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int STRING_CURRENT
public static int STRING_SUBMISSION
public static int STRING_NO_NODES
public static int STRING_MULTI_LINES
Constructor Detail |
---|
public DagAd()
Method Detail |
---|
public java.lang.String toString(int level)
STRING_CURRENT
,
STRING_SUBMISSION
,
STRING_NO_NODES
,
STRING_MULTI_LINES
public void addNode(Node node) throws java.lang.Exception
nodeValue
- - the value of the node
java.lang.Exception
public void removeNode(java.lang.String node) throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldException
public void addDependency(java.lang.String jobFather, java.lang.String jobSon) throws java.lang.NoSuchFieldException, JobAdException, java.lang.Exception
java.lang.NoSuchFieldException
JobAdException
java.lang.Exception
public void removeDependency(java.lang.String jobFather, java.lang.String jobSon) throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldException
public void setAttribute(java.lang.String attrName, condor.classad.Expr attrValue) throws java.lang.IllegalArgumentException
setAttribute
in class Ad
attrName
- the name of the attribute to be setattrValue
- the value for the attribute to be set
java.lang.IllegalArgumentException
public void check() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |