com.almende.eve.agent.log
Class Log

java.lang.Object
  extended by 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

Constructor Summary
Log(String agentId, String event, Object params)
           
 
Method Summary
 String getAgentId()
           
 String getEvent()
           
 Object getParams()
           
 Long getTimestamp()
           
 void setAgentId(String agentId)
           
 void setEvent(String event)
           
 void setParams(Object params)
           
 void setTimestamp(Long timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.