Package com.carfey.ops.api.bean.log
Class Log
- java.lang.Object
-
- com.carfey.ops.api.bean.log.Log
-
public class Log extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategorygetCategory()com.carfey.jdk.lang.DateTimegetEventTime()java.lang.StringgetHost()longgetId()LogLevelgetLevel()java.lang.StringgetMessage()java.lang.StringgetSummary()voidsetCategory(Category category)voidsetEventTime(com.carfey.jdk.lang.DateTime eventTime)voidsetHost(java.lang.String host)voidsetId(long id)voidsetLevel(LogLevel level)voidsetMessage(java.lang.String message)voidsetSummary(java.lang.String summary)java.lang.StringtoString()LogwithCategory(Category category)LogwithEventTime(com.carfey.jdk.lang.DateTime eventTime)LogwithHost(java.lang.String host)LogwithId(long id)LogwithLevel(LogLevel level)LogwithMessage(java.lang.String message)LogwithSummary(java.lang.String summary)
-
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
withId
public Log withId(long id)
-
getEventTime
public com.carfey.jdk.lang.DateTime getEventTime()
-
setEventTime
public void setEventTime(com.carfey.jdk.lang.DateTime eventTime)
-
withEventTime
public Log withEventTime(com.carfey.jdk.lang.DateTime eventTime)
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
withHost
public Log withHost(java.lang.String host)
-
getCategory
public Category getCategory()
-
setCategory
public void setCategory(Category category)
-
getLevel
public LogLevel getLevel()
-
setLevel
public void setLevel(LogLevel level)
-
getSummary
public java.lang.String getSummary()
-
setSummary
public void setSummary(java.lang.String summary)
-
withSummary
public Log withSummary(java.lang.String summary)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
withMessage
public Log withMessage(java.lang.String message)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-