Package org.xwiki.rest.model.jaxb
Class JobStatus
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.JobStatus
-
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>
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description JobStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Field Detail
-
id
protected String id
-
request
protected JobRequest request
-
state
protected String state
-
progress
protected JobProgress progress
-
log
protected JobLog log
-
startDate
protected Calendar startDate
-
endDate
protected Calendar endDate
-
serialized
protected Boolean serialized
-
isolated
protected Boolean isolated
-
errorMessage
protected String errorMessage
-
-
Method Detail
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getRequest
public JobRequest getRequest()
Gets the value of the request property.- Returns:
- possible object is
JobRequest
-
setRequest
public void setRequest(JobRequest value)
Sets the value of the request property.- Parameters:
value
- allowed object isJobRequest
-
getState
public String getState()
Gets the value of the state property.- Returns:
- possible object is
String
-
setState
public void setState(String value)
Sets the value of the state property.- Parameters:
value
- allowed object isString
-
getProgress
public JobProgress getProgress()
Gets the value of the progress property.- Returns:
- possible object is
JobProgress
-
setProgress
public void setProgress(JobProgress value)
Sets the value of the progress property.- Parameters:
value
- allowed object isJobProgress
-
getLog
public JobLog getLog()
Gets the value of the log property.- Returns:
- possible object is
JobLog
-
setLog
public void setLog(JobLog value)
Sets the value of the log property.- Parameters:
value
- allowed object isJobLog
-
getStartDate
public Calendar getStartDate()
Gets the value of the startDate property.- Returns:
- possible object is
String
-
setStartDate
public void setStartDate(Calendar value)
Sets the value of the startDate property.- Parameters:
value
- allowed object isString
-
getEndDate
public Calendar getEndDate()
Gets the value of the endDate property.- Returns:
- possible object is
String
-
setEndDate
public void setEndDate(Calendar value)
Sets the value of the endDate property.- Parameters:
value
- allowed object isString
-
isSerialized
public Boolean isSerialized()
Gets the value of the serialized property.- Returns:
- possible object is
Boolean
-
setSerialized
public void setSerialized(Boolean value)
Sets the value of the serialized property.- Parameters:
value
- allowed object isBoolean
-
isIsolated
public Boolean isIsolated()
Gets the value of the isolated property.- Returns:
- possible object is
Boolean
-
setIsolated
public void setIsolated(Boolean value)
Sets the value of the isolated property.- Parameters:
value
- allowed object isBoolean
-
getErrorMessage
public String getErrorMessage()
Gets the value of the errorMessage property.- Returns:
- possible object is
String
-
setErrorMessage
public void setErrorMessage(String value)
Sets the value of the errorMessage property.- Parameters:
value
- allowed object isString
-
withRequest
public JobStatus withRequest(JobRequest value)
-
withProgress
public JobStatus withProgress(JobProgress value)
-
withLinks
public JobStatus withLinks(Link... values)
- Overrides:
withLinks
in classLinkCollection
-
withLinks
public JobStatus withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-