public class DagAd extends Ad
Modifier and Type | Field and Description |
---|---|
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
|
jobAd, TYPE_AD, TYPE_BOOL, TYPE_EXPRESSION, TYPE_INTEGER, TYPE_REAL, TYPE_STRING, TYPE_UNKNOWN
Constructor and Description |
---|
DagAd()
The default empty constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
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
public static int STRING_CURRENT
public static int STRING_SUBMISSION
public static int STRING_NO_NODES
public static int STRING_MULTI_LINES
public String toString(int level)
public void addNode(Node node) throws Exception
nodeValue
- - the value of the nodeException
public void removeNode(String node) throws NoSuchFieldException
NoSuchFieldException
public void addDependency(String jobFather, String jobSon) throws 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 setIllegalArgumentException
Copyright © 2016 EMI - European Middleware Initiative. All Rights Reserved.