public class JobStatus extends LinkCollection
Java class for JobStatus complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="JobStatus"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="request" type="{http://www.xwiki.org}JobRequest" minOccurs="0"/> <element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="progress" type="{http://www.xwiki.org}JobProgress" minOccurs="0"/> <element name="log" type="{http://www.xwiki.org}Log" minOccurs="0"/> <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="serialized" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="isolated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Calendar |
endDate |
protected String |
errorMessage |
protected String |
id |
protected Boolean |
isolated |
protected JobLog |
log |
protected JobProgress |
progress |
protected JobRequest |
request |
protected Boolean |
serialized |
protected Calendar |
startDate |
protected String |
state |
links
Constructor and Description |
---|
JobStatus() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getEndDate()
Gets the value of the endDate property.
|
String |
getErrorMessage()
Gets the value of the errorMessage property.
|
String |
getId()
Gets the value of the id property.
|
JobLog |
getLog()
Gets the value of the log property.
|
JobProgress |
getProgress()
Gets the value of the progress property.
|
JobRequest |
getRequest()
Gets the value of the request property.
|
Calendar |
getStartDate()
Gets the value of the startDate property.
|
String |
getState()
Gets the value of the state property.
|
Boolean |
isIsolated()
Gets the value of the isolated property.
|
Boolean |
isSerialized()
Gets the value of the serialized property.
|
void |
setEndDate(Calendar value)
Sets the value of the endDate property.
|
void |
setErrorMessage(String value)
Sets the value of the errorMessage property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIsolated(Boolean value)
Sets the value of the isolated property.
|
void |
setLog(JobLog value)
Sets the value of the log property.
|
void |
setProgress(JobProgress value)
Sets the value of the progress property.
|
void |
setRequest(JobRequest value)
Sets the value of the request property.
|
void |
setSerialized(Boolean value)
Sets the value of the serialized property.
|
void |
setStartDate(Calendar value)
Sets the value of the startDate property.
|
void |
setState(String value)
Sets the value of the state property.
|
JobStatus |
withEndDate(Calendar value) |
JobStatus |
withErrorMessage(String value) |
JobStatus |
withId(String value) |
JobStatus |
withIsolated(Boolean value) |
JobStatus |
withLinks(Collection<Link> values) |
JobStatus |
withLinks(Link... values) |
JobStatus |
withLog(JobLog value) |
JobStatus |
withProgress(JobProgress value) |
JobStatus |
withRequest(JobRequest value) |
JobStatus |
withSerialized(Boolean value) |
JobStatus |
withStartDate(Calendar value) |
JobStatus |
withState(String value) |
getLinks
protected String id
protected JobRequest request
protected String state
protected JobProgress progress
protected JobLog log
protected Calendar startDate
protected Calendar endDate
protected Boolean serialized
protected Boolean isolated
protected String errorMessage
public void setId(String value)
value
- allowed object is
String
public JobRequest getRequest()
JobRequest
public void setRequest(JobRequest value)
value
- allowed object is
JobRequest
public String getState()
String
public void setState(String value)
value
- allowed object is
String
public JobProgress getProgress()
JobProgress
public void setProgress(JobProgress value)
value
- allowed object is
JobProgress
public JobLog getLog()
JobLog
public void setLog(JobLog value)
value
- allowed object is
JobLog
public Calendar getStartDate()
String
public void setStartDate(Calendar value)
value
- allowed object is
String
public Calendar getEndDate()
String
public void setEndDate(Calendar value)
value
- allowed object is
String
public Boolean isSerialized()
Boolean
public void setSerialized(Boolean value)
value
- allowed object is
Boolean
public Boolean isIsolated()
Boolean
public void setIsolated(Boolean value)
value
- allowed object is
Boolean
public String getErrorMessage()
String
public void setErrorMessage(String value)
value
- allowed object is
String
public JobStatus withRequest(JobRequest value)
public JobStatus withProgress(JobProgress value)
public JobStatus withLinks(Link... values)
withLinks
in class LinkCollection
public JobStatus withLinks(Collection<Link> values)
withLinks
in class LinkCollection
Copyright © 2004–2021 XWiki. All rights reserved.