Class StampedMessage.Builder
- java.lang.Object
-
- com.identityworksllc.iiq.common.vo.StampedMessage.Builder
-
- Enclosing class:
- StampedMessage
public static final class StampedMessage.Builder extends Object
A Builder for a StampedMessage, allowing a fluent API if needed
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StampedMessage
build()
Builds a newStampedMessage
StampedMessage.Builder
withException(Throwable val)
StampedMessage.Builder
withLevel(LogLevel val)
StampedMessage.Builder
withMessage(String val)
StampedMessage.Builder
withThread(String val)
StampedMessage.Builder
withTimestamp(long val)
-
-
-
Method Detail
-
build
public StampedMessage build()
Builds a newStampedMessage
- Returns:
- A newly constructed
StampedMessage
-
withException
public StampedMessage.Builder withException(Throwable val)
-
withLevel
public StampedMessage.Builder withLevel(LogLevel val)
-
withMessage
public StampedMessage.Builder withMessage(String val)
-
withThread
public StampedMessage.Builder withThread(String val)
-
withTimestamp
public StampedMessage.Builder withTimestamp(long val)
-
-