public class YarnBatchProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
YarnBatchProperties.JobProperties
Bindings for job properties.
|
static class |
YarnBatchProperties.Jobs2Enum |
| Constructor and Description |
|---|
YarnBatchProperties() |
| Modifier and Type | Method and Description |
|---|---|
YarnBatchProperties.JobProperties |
getJobProperties(String jobName)
Find first occurrence for given job.
|
List<YarnBatchProperties.JobProperties> |
getJobs() |
String |
getName() |
Map<YarnBatchProperties.Jobs2Enum,Object> |
getTest() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setJobs(List<YarnBatchProperties.JobProperties> jobs) |
void |
setName(String name) |
void |
setTest(Map<YarnBatchProperties.Jobs2Enum,Object> test) |
String |
toString() |
public void setTest(Map<YarnBatchProperties.Jobs2Enum,Object> test)
public Map<YarnBatchProperties.Jobs2Enum,Object> getTest()
public String getName()
public void setName(String name)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public List<YarnBatchProperties.JobProperties> getJobs()
public void setJobs(List<YarnBatchProperties.JobProperties> jobs)
public YarnBatchProperties.JobProperties getJobProperties(String jobName)
jobName - the job namenull if not found.