BatchJobDTO

public class BatchJobDTO

Class containing fields of Batch Job which is to be sent as response through REST.

Author:Naveen

Methods

getCreateTime

public DateTime getCreateTime()
Returns:the date time when this job was created

getCreatedBy

public String getCreatedBy()
Returns:the username of the user who created this job

getCronExpression

public String getCronExpression()
Returns:the cron expression behind this batch job

getJobId

public long getJobId()
Returns:the id of the batch job

getJobName

public String getJobName()
Returns:the name of the batch job

getLastUpdated

public DateTime getLastUpdated()
Returns:the last modification date for this job

getLastUpdatedBy

public String getLastUpdatedBy()
Returns:the username of the user who last updated this job

getParameters

public Map<String, String> getParameters()
Returns:a map of parameters for this batch job

getStatus

public String getStatus()
Returns:the status of the batch job

setCreateTime

public void setCreateTime(DateTime createTime)
Parameters:
  • createTime – the date time when this job was created

setCreatedBy

public void setCreatedBy(String createdBy)
Parameters:
  • createdBy – the username of the user who created this job

setCronExpression

public void setCronExpression(String cronExpression)
Parameters:
  • cronExpression – the cron expression behind this batch job

setJobId

public void setJobId(long jobId)
Parameters:
  • jobId – the id of the batch job

setJobName

public void setJobName(String jobName)
Parameters:
  • jobName – the name of the batch job

setLastUpdated

public void setLastUpdated(DateTime lastUpdated)
Parameters:
  • lastUpdated – the last modification date for this job

setLastUpdatedBy

public void setLastUpdatedBy(String lastUpdatedBy)
Parameters:
  • lastUpdatedBy – the username of the user who last updated this job

setParameters

public void setParameters(Map<String, String> parameters)
Parameters:
  • parameters – a map of parameters for this batch job

setStatus

public void setStatus(String status)
Parameters:
  • status – the status of the batch job