public class JobDefinition extends Object
Constructor and Description |
---|
JobDefinition() |
Modifier and Type | Method and Description |
---|---|
int |
getAlertThresholdMinutes()
The number of minutes after which the jobs was supposed to run at which
we return errors in the healthcheck endpoint because the job has not finished
running.
|
Class<? extends Job> |
getJobClass() |
String |
getJobClassName() |
String |
getName() |
Schedule |
getSchedule() |
JobDefinition |
setAlertThresholdMinutes(int alertThresholdMinutes) |
JobDefinition |
setJobClass(Class<? extends Job> cls) |
JobDefinition |
setJobClassName(String className) |
JobDefinition |
setName(String name) |
JobDefinition |
setSchedule(Schedule schedule) |
public JobDefinition()
public JobDefinition setName(String name)
public Schedule getSchedule()
public JobDefinition setSchedule(Schedule schedule)
public int getAlertThresholdMinutes()
public JobDefinition setAlertThresholdMinutes(int alertThresholdMinutes)
public String getJobClassName()
public JobDefinition setJobClassName(String className)
public JobDefinition setJobClass(Class<? extends Job> cls)
public Class<? extends Job> getJobClass()
Copyright © 2016. All rights reserved.