public static class ClusterDef.LabeledGroup extends ClusterDef.ClusterGroup
| Constructor and Description |
|---|
LabeledGroup(Map<String,Object> pool,
int index) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPairs(List<NameValuePair> pairs,
String key) |
void |
dump(String prefix,
PrintStream out) |
String |
getLabelExpr() |
void |
modifyTaskSpec(TaskSpec taskSpec) |
getCount, getName, getPairs, getTypepublic String getLabelExpr()
public void dump(String prefix, PrintStream out)
dump in class ClusterDef.ClusterGroupprotected void addPairs(List<NameValuePair> pairs, String key)
addPairs in class ClusterDef.ClusterGrouppublic void modifyTaskSpec(TaskSpec taskSpec)
modifyTaskSpec in class ClusterDef.ClusterGroupCopyright © 2021 The Apache Software Foundation. All rights reserved.