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>
Modifier and Type | Field and Description |
---|---|
protected List<LogEvent> |
logEvents |
links
Constructor and Description |
---|
JobLog() |
Modifier and Type | Method and 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) |
getLinks
public List<LogEvent> getLogEvents()
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
public JobLog withLogEvents(Collection<LogEvent> values)
public JobLog withLinks(Link... values)
withLinks
in class LinkCollection
public JobLog withLinks(Collection<Link> values)
withLinks
in class LinkCollection
Copyright © 2004–2021 XWiki. All rights reserved.