com.almende.eve.agent.log
Class Log
java.lang.Object
com.almende.eve.agent.log.Log
- All Implemented Interfaces:
- Serializable
public class Log
- extends Object
- implements Serializable
Helper class to store logs
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log
public Log(String agentId,
String event,
Object params)
throws com.fasterxml.jackson.core.JsonGenerationException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
com.fasterxml.jackson.databind.JsonMappingException
IOException
setTimestamp
public void setTimestamp(Long timestamp)
getTimestamp
public Long getTimestamp()
setAgentId
public void setAgentId(String agentId)
getAgentId
public String getAgentId()
setEvent
public void setEvent(String event)
getEvent
public String getEvent()
setParams
public void setParams(Object params)
throws com.fasterxml.jackson.core.JsonGenerationException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
com.fasterxml.jackson.databind.JsonMappingException
IOException
getParams
public Object getParams()
throws com.fasterxml.jackson.core.JsonParseException,
com.fasterxml.jackson.databind.JsonMappingException,
IOException
- Throws:
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
Copyright © 2013 Almende BV. All Rights Reserved.