BatchJobParameters

public class BatchJobParameters implements java.io.Serializable

Class containing parameters as fields to run the job.

Constructors

BatchJobParameters

public BatchJobParameters()

Constructs an instance without setting any fields.

BatchJobParameters

public BatchJobParameters(Integer batchJobId, String parameterName)

Constructs a parameter without a value.

Parameters:
  • batchJobId – the id of the batch job
  • parameterName – the name of this parameter

BatchJobParameters

public BatchJobParameters(Integer batchJobId, String parameterName, String parameterValue)
Parameters:
  • batchJobId – the id of the batch job
  • parameterName – the name of this parameter
  • parameterValue – the value of the parameter

Methods

getBatchJobId

public Integer getBatchJobId()
Returns:the id of the batch job for this parameter

getParameterName

public String getParameterName()
Returns:the name of this parameter

getParameterValue

public String getParameterValue()
Returns:the value of this parameter

setBatchJobId

public void setBatchJobId(Integer batchJobId)
Parameters:
  • batchJobId – the id of the batch job fpr this parameter

setParameterName

public void setParameterName(String parameterName)
Parameters:
  • parameterName – the name of this parameter

setParameterValue

public void setParameterValue(String parameterValue)
Parameters:
  • parameterValue – the value of this parameter