Package org.xwiki.rest.model.jaxb
Class JobLog
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.JobLog
-
public class JobLog extends LinkCollection
Java class for Log complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Log"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="logEvent" type="{http://www.xwiki.org}LogEvent" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LogEvent>
logEvents
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description JobLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LogEvent>
getLogEvents()
Gets the value of the logEvents property.JobLog
withLinks(Collection<Link> values)
JobLog
withLinks(Link... values)
JobLog
withLogEvents(Collection<LogEvent> values)
JobLog
withLogEvents(LogEvent... values)
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Method Detail
-
getLogEvents
public List<LogEvent> getLogEvents()
Gets the value of the logEvents 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 logEvents property.For example, to add a new item, do as follows:
getLogEvents().add(newItem);
Objects of the following type(s) are allowed in the list
LogEvent
-
withLogEvents
public JobLog withLogEvents(Collection<LogEvent> values)
-
withLinks
public JobLog withLinks(Link... values)
- Overrides:
withLinks
in classLinkCollection
-
withLinks
public JobLog withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-