Package org.xwiki.rest.model.jaxb
Class JobRequest
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.JobRequest
-
public class JobRequest extends Object
Java class for JobRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="JobRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" type="{http://www.xwiki.org}JobId" minOccurs="0"/> <element name="interactive" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="remote" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="verbose" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="statusSerialized" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="statusLogIsolated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="property" type="{http://www.xwiki.org}MapEntry" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected JobId
id
protected boolean
interactive
protected List<MapEntry>
properties
protected boolean
remote
protected Boolean
statusLogIsolated
protected Boolean
statusSerialized
protected boolean
verbose
-
Constructor Summary
Constructors Constructor Description JobRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobId
getId()
Gets the value of the id property.List<MapEntry>
getProperties()
Gets the value of the properties property.boolean
isInteractive()
Gets the value of the interactive property.boolean
isRemote()
Gets the value of the remote property.Boolean
isStatusLogIsolated()
Gets the value of the statusLogIsolated property.Boolean
isStatusSerialized()
Gets the value of the statusSerialized property.boolean
isVerbose()
Gets the value of the verbose property.void
setId(JobId value)
Sets the value of the id property.void
setInteractive(boolean value)
Sets the value of the interactive property.void
setRemote(boolean value)
Sets the value of the remote property.void
setStatusLogIsolated(Boolean value)
Sets the value of the statusLogIsolated property.void
setStatusSerialized(Boolean value)
Sets the value of the statusSerialized property.void
setVerbose(boolean value)
Sets the value of the verbose property.JobRequest
withId(JobId value)
JobRequest
withInteractive(boolean value)
JobRequest
withProperties(Collection<MapEntry> values)
JobRequest
withProperties(MapEntry... values)
JobRequest
withRemote(boolean value)
JobRequest
withStatusLogIsolated(Boolean value)
JobRequest
withStatusSerialized(Boolean value)
JobRequest
withVerbose(boolean value)
-
-
-
Method Detail
-
setId
public void setId(JobId value)
Sets the value of the id property.- Parameters:
value
- allowed object isJobId
-
isInteractive
public boolean isInteractive()
Gets the value of the interactive property.
-
setInteractive
public void setInteractive(boolean value)
Sets the value of the interactive property.
-
isRemote
public boolean isRemote()
Gets the value of the remote property.
-
setRemote
public void setRemote(boolean value)
Sets the value of the remote property.
-
isVerbose
public boolean isVerbose()
Gets the value of the verbose property.
-
setVerbose
public void setVerbose(boolean value)
Sets the value of the verbose property.
-
isStatusSerialized
public Boolean isStatusSerialized()
Gets the value of the statusSerialized property.- Returns:
- possible object is
Boolean
-
setStatusSerialized
public void setStatusSerialized(Boolean value)
Sets the value of the statusSerialized property.- Parameters:
value
- allowed object isBoolean
-
isStatusLogIsolated
public Boolean isStatusLogIsolated()
Gets the value of the statusLogIsolated property.- Returns:
- possible object is
Boolean
-
setStatusLogIsolated
public void setStatusLogIsolated(Boolean value)
Sets the value of the statusLogIsolated property.- Parameters:
value
- allowed object isBoolean
-
getProperties
public List<MapEntry> getProperties()
Gets the value of the properties property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the properties property.For example, to add a new item, do as follows:
getProperties().add(newItem);
Objects of the following type(s) are allowed in the list
MapEntry
-
withId
public JobRequest withId(JobId value)
-
withInteractive
public JobRequest withInteractive(boolean value)
-
withRemote
public JobRequest withRemote(boolean value)
-
withVerbose
public JobRequest withVerbose(boolean value)
-
withStatusSerialized
public JobRequest withStatusSerialized(Boolean value)
-
withStatusLogIsolated
public JobRequest withStatusLogIsolated(Boolean value)
-
withProperties
public JobRequest withProperties(MapEntry... values)
-
withProperties
public JobRequest withProperties(Collection<MapEntry> values)
-
-