Package org.xwiki.rest.model.jaxb
Class LogEvent
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LogEvent
-
public class LogEvent extends Object
Java class for LogEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LogEvent"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="level" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="formattedMessage" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description LogEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar
getDate()
Gets the value of the date property.String
getFormattedMessage()
Gets the value of the formattedMessage property.String
getLevel()
Gets the value of the level property.void
setDate(Calendar value)
Sets the value of the date property.void
setFormattedMessage(String value)
Sets the value of the formattedMessage property.void
setLevel(String value)
Sets the value of the level property.LogEvent
withDate(Calendar value)
LogEvent
withFormattedMessage(String value)
LogEvent
withLevel(String value)
-
-
-
Method Detail
-
getLevel
public String getLevel()
Gets the value of the level property.- Returns:
- possible object is
String
-
setLevel
public void setLevel(String value)
Sets the value of the level property.- Parameters:
value
- allowed object isString
-
getDate
public Calendar getDate()
Gets the value of the date property.- Returns:
- possible object is
String
-
setDate
public void setDate(Calendar value)
Sets the value of the date property.- Parameters:
value
- allowed object isString
-
getFormattedMessage
public String getFormattedMessage()
Gets the value of the formattedMessage property.- Returns:
- possible object is
String
-
setFormattedMessage
public void setFormattedMessage(String value)
Sets the value of the formattedMessage property.- Parameters:
value
- allowed object isString
-
-