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 JobIdidprotected booleaninteractiveprotected List<MapEntry>propertiesprotected booleanremoteprotected BooleanstatusLogIsolatedprotected BooleanstatusSerializedprotected booleanverbose
-
Constructor Summary
Constructors Constructor Description JobRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobIdgetId()Gets the value of the id property.List<MapEntry>getProperties()Gets the value of the properties property.booleanisInteractive()Gets the value of the interactive property.booleanisRemote()Gets the value of the remote property.BooleanisStatusLogIsolated()Gets the value of the statusLogIsolated property.BooleanisStatusSerialized()Gets the value of the statusSerialized property.booleanisVerbose()Gets the value of the verbose property.voidsetId(JobId value)Sets the value of the id property.voidsetInteractive(boolean value)Sets the value of the interactive property.voidsetRemote(boolean value)Sets the value of the remote property.voidsetStatusLogIsolated(Boolean value)Sets the value of the statusLogIsolated property.voidsetStatusSerialized(Boolean value)Sets the value of the statusSerialized property.voidsetVerbose(boolean value)Sets the value of the verbose property.JobRequestwithId(JobId value)JobRequestwithInteractive(boolean value)JobRequestwithProperties(Collection<MapEntry> values)JobRequestwithProperties(MapEntry... values)JobRequestwithRemote(boolean value)JobRequestwithStatusLogIsolated(Boolean value)JobRequestwithStatusSerialized(Boolean value)JobRequestwithVerbose(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
setmethod 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)
-
-