public class Job extends QTestBaseModel<Job>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
Job() |
| Modifier and Type | Method and Description |
|---|---|
Job |
addAutomationMaterial(AutomationMaterial automationMaterial)
Add the automation material to job execution.
|
protected Job |
clone() |
java.lang.String |
elementName() |
java.lang.Long |
getAgentId() |
java.lang.Long |
getAgentServerId() |
java.util.List<AutomationMaterial> |
getAutomationMaterials() |
java.util.Date |
getEndDate() |
java.lang.Long |
getHostServerId() |
java.lang.Long |
getJobId() |
JobParameter |
getParameters() |
java.lang.Long |
getProjectId() |
java.lang.Long |
getScheduledBy() |
java.lang.Long |
getScheduleId() |
java.util.Date |
getStartDate() |
Status |
getStatus() |
java.lang.String |
jsonElementName() |
Job |
setAgentId(java.lang.Long id)
Sets the client agent identifier.
|
Job |
setAgentServerId(java.lang.Long id)
Sets the agent server identifier.
|
Job |
setAutomationMaterials(java.util.List<AutomationMaterial> automationMaterials)
Sets the automation test runs.
|
Job |
setEndDate(java.util.Date endDate)
Sets the job execution end date.
|
Job |
setHostServerId(java.lang.Long hostServerId)
Sets the host server identifier.
|
Job |
setJobId(java.lang.Long jobId)
Sets the job identifier.
|
void |
setParameters(JobParameter parameters) |
Job |
setProjectId(java.lang.Long projectId)
Sets the project identifier.
|
Job |
setScheduledBy(java.lang.Long scheduledBy) |
Job |
setScheduleId(java.lang.Long id)
Sets the schedule identifier.
|
Job |
setStartDate(java.util.Date startDate)
Sets the start date.
|
Job |
setStatus(Status status)
Sets the job execution status.
|
Job |
withAgentId(java.lang.Long id)
Sets the client agent identifier.
|
Job |
withAgentServerId(java.lang.Long id)
Sets the agent server identifier.
|
Job |
withAutomationMaterials(java.util.List<AutomationMaterial> automationMaterials)
Sets the automation test runs.
|
Job |
withEndDate(java.util.Date endDate)
Sets the job execution end date.
|
Job |
withHostServerId(java.lang.Long hostServerId)
Sets the host server identifier.
|
Job |
withJobId(java.lang.Long jobId)
Sets the job identifier.
|
Job |
withProjectId(java.lang.Long projectId)
Sets the project identifier.
|
Job |
withScheduleId(java.lang.Long id)
Sets the schedule identifier.
|
Job |
withStartDate(java.util.Date startDate)
Sets the start date.
|
Job |
withStatus(Status status)
Sets the job execution status.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic java.util.Date getStartDate()
public Job setStartDate(java.util.Date startDate)
startDate - the given start date to set.public Job withStartDate(java.util.Date startDate)
startDate - the given start date to set.public java.util.Date getEndDate()
public Job setEndDate(java.util.Date endDate)
endDate - the given execution end date to set.public Job withEndDate(java.util.Date endDate)
endDate - the given execution end date to set.public Status getStatus()
public Job setStatus(Status status)
status - the given job execution status to set.public Job withStatus(Status status)
status - the given job execution status to set.public java.lang.Long getAgentServerId()
public Job setAgentServerId(java.lang.Long id)
id - the given agent server identifier to set.public Job withAgentServerId(java.lang.Long id)
id - the given agent server identifier to set.public java.lang.Long getAgentId()
public Job setAgentId(java.lang.Long id)
id - the given client agent identifier.public Job withAgentId(java.lang.Long id)
id - the given client agent identifier.public java.lang.Long getScheduleId()
public Job setScheduleId(java.lang.Long id)
id - the given schedule identifier.public Job withScheduleId(java.lang.Long id)
id - the given schedule identifier.public java.util.List<AutomationMaterial> getAutomationMaterials()
automation material objects.public Job setAutomationMaterials(java.util.List<AutomationMaterial> automationMaterials)
automationMaterials - the given list of automation material objects to set.public Job withAutomationMaterials(java.util.List<AutomationMaterial> automationMaterials)
automationMaterials - the given list of automation material objects to set.public Job addAutomationMaterial(AutomationMaterial automationMaterial)
automationMaterial - the given automation material instance to set.public java.lang.Long getJobId()
public Job setJobId(java.lang.Long jobId)
jobId - the given job identifier to set.public Job withJobId(java.lang.Long jobId)
jobId - the given job identifier to set.public java.lang.Long getHostServerId()
public Job setHostServerId(java.lang.Long hostServerId)
hostServerId - the given host server identifier.public Job withHostServerId(java.lang.Long hostServerId)
hostServerId - the given host server identifier.public java.lang.Long getProjectId()
public Job setProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.public java.lang.Long getScheduledBy()
public Job setScheduledBy(java.lang.Long scheduledBy)
public Job withProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.public JobParameter getParameters()
public void setParameters(JobParameter parameters)
protected Job clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainerpublic java.lang.String jsonElementName()
jsonElementName in class PropertyContainer