public class YarnBatchProperties
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
YarnBatchProperties.JobProperties
Bindings for job properties.
|
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() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setJobs(java.util.List<YarnBatchProperties.JobProperties> jobs) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
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