Package org.apache.felix.hc.api
Class ResultLog.Entry
- java.lang.Object
-
- org.apache.felix.hc.api.ResultLog.Entry
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptiongetException()StringgetLogLevel()StringgetMessage()Result.StatusgetStatus()booleanisDebug()StringtoString()
-
-
-
Constructor Detail
-
Entry
public Entry(Result.Status s, String message)
- Parameters:
s- The status of the messagemessage- The message
-
Entry
public Entry(String message, boolean isDebug)
- Parameters:
message- The message with status OKisDebug- Whether this is a debug message
-
Entry
public Entry(String message, boolean isDebug, Exception exception)
- Parameters:
message- The message with status OKisDebug- Whether this is a debug messageexception- An exception that belongs to this message
-
Entry
public Entry(Result.Status s, String message, Exception exception)
- Parameters:
s- The status of the messagemessage- The messageexception- An exception that belongs to this message
-
-
Method Detail
-
getStatus
public Result.Status getStatus()
- Returns:
- The status of this entry
-
getLogLevel
public String getLogLevel()
- Returns:
- The log level of this entry
-
getMessage
public String getMessage()
- Returns:
- The message of this entry
-
getException
public Exception getException()
- Returns:
- The exception of this entry or null if no exception exists for this message
-
isDebug
public boolean isDebug()
- Returns:
- true if this is a debug message
-
-