|
||||||||
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(String jobFather,
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(String jobFather,
String jobSon)
Remove the couple father, son from the DagAd dependencies if it has been already set |
void |
removeNode(String node)
Remove the specified job from the DagAd |
void |
setAttribute(String attrName,
condor.classad.Expr attrValue)
Set an Expr Attribute to the DagAd. |
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 String toString(int level)
STRING_CURRENT
,
STRING_SUBMISSION
,
STRING_NO_NODES
,
STRING_MULTI_LINES
public void addNode(Node node) throws Exception
nodeValue
- - the value of the node
Exception
public void removeNode(String node) throws NoSuchFieldException
NoSuchFieldException
public void addDependency(String jobFather, String jobSon) throws NoSuchFieldException, JobAdException, Exception
NoSuchFieldException
JobAdException
Exception
public void removeDependency(String jobFather, String jobSon) throws NoSuchFieldException
NoSuchFieldException
public void setAttribute(String attrName, condor.classad.Expr attrValue) throws IllegalArgumentException
setAttribute
in class Ad
attrName
- the name of the attribute to be setattrValue
- the value for the attribute to be set
IllegalArgumentException
public void check() throws Exception
Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |