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 CalendarendDateprotected StringerrorMessageprotected Stringidprotected Booleanisolatedprotected JobLoglogprotected JobProgressprogressprotected JobRequestrequestprotected Booleanserializedprotected CalendarstartDateprotected Stringstate-
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 CalendargetEndDate()Gets the value of the endDate property.StringgetErrorMessage()Gets the value of the errorMessage property.StringgetId()Gets the value of the id property.JobLoggetLog()Gets the value of the log property.JobProgressgetProgress()Gets the value of the progress property.JobRequestgetRequest()Gets the value of the request property.CalendargetStartDate()Gets the value of the startDate property.StringgetState()Gets the value of the state property.BooleanisIsolated()Gets the value of the isolated property.BooleanisSerialized()Gets the value of the serialized property.voidsetEndDate(Calendar value)Sets the value of the endDate property.voidsetErrorMessage(String value)Sets the value of the errorMessage property.voidsetId(String value)Sets the value of the id property.voidsetIsolated(Boolean value)Sets the value of the isolated property.voidsetLog(JobLog value)Sets the value of the log property.voidsetProgress(JobProgress value)Sets the value of the progress property.voidsetRequest(JobRequest value)Sets the value of the request property.voidsetSerialized(Boolean value)Sets the value of the serialized property.voidsetStartDate(Calendar value)Sets the value of the startDate property.voidsetState(String value)Sets the value of the state property.JobStatuswithEndDate(Calendar value)JobStatuswithErrorMessage(String value)JobStatuswithId(String value)JobStatuswithIsolated(Boolean value)JobStatuswithLinks(Collection<Link> values)JobStatuswithLinks(Link... values)JobStatuswithLog(JobLog value)JobStatuswithProgress(JobProgress value)JobStatuswithRequest(JobRequest value)JobStatuswithSerialized(Boolean value)JobStatuswithStartDate(Calendar value)JobStatuswithState(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:
withLinksin classLinkCollection
-
withLinks
public JobStatus withLinks(Collection<Link> values)
- Overrides:
withLinksin classLinkCollection
-
-