public class YarnBatchProperties
extends java.lang.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(java.lang.String jobName)
Find first occurrence for given job.
|
java.util.List<YarnBatchProperties.JobProperties> |
getJobs() |
java.lang.String |
getName() |
java.util.Map<YarnBatchProperties.Jobs2Enum,java.lang.Object> |
getTest() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setJobs(java.util.List<YarnBatchProperties.JobProperties> jobs) |
void |
setName(java.lang.String name) |
void |
setTest(java.util.Map<YarnBatchProperties.Jobs2Enum,java.lang.Object> test) |
java.lang.String |
toString() |
public void setTest(java.util.Map<YarnBatchProperties.Jobs2Enum,java.lang.Object> test)
public java.util.Map<YarnBatchProperties.Jobs2Enum,java.lang.Object> getTest()
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public java.util.List<YarnBatchProperties.JobProperties> getJobs()
public void setJobs(java.util.List<YarnBatchProperties.JobProperties> jobs)
public YarnBatchProperties.JobProperties getJobProperties(java.lang.String jobName)
jobName
- the job namenull
if not found.public java.lang.String toString()
toString
in class java.lang.Object