Package org.nuxeo.runtime
Class RuntimeMessage
- java.lang.Object
-
- org.nuxeo.runtime.RuntimeMessage
-
public class RuntimeMessage extends Object
Represents a message to be held by the Runtime framework.Allows detecting and displaying errors and warnings at server startup and when hot-reloading.
- Since:
- 11.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuntimeMessage.Level
static class
RuntimeMessage.Source
The type of source that produced a message.
-
Field Summary
Fields Modifier and Type Field Description protected RuntimeMessage.Level
level
protected String
message
protected RuntimeMessage.Source
source
protected String
sourceId
-
Constructor Summary
Constructors Constructor Description RuntimeMessage(RuntimeMessage.Level level, String message, RuntimeMessage.Source source, String sourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeMessage.Level
getLevel()
String
getMessage()
RuntimeMessage.Source
getSource()
Returns the type of source that produced the message.String
getSourceId()
Returns a string identifier for the source that produce the message.String
toString()
-
-
-
Field Detail
-
level
protected final RuntimeMessage.Level level
-
message
protected final String message
-
source
protected final RuntimeMessage.Source source
-
sourceId
protected final String sourceId
-
-
Constructor Detail
-
RuntimeMessage
public RuntimeMessage(RuntimeMessage.Level level, String message, RuntimeMessage.Source source, String sourceId)
-
-
Method Detail
-
getLevel
public RuntimeMessage.Level getLevel()
-
getMessage
public String getMessage()
-
getSource
public RuntimeMessage.Source getSource()
Returns the type of source that produced the message.
-
getSourceId
public String getSourceId()
Returns a string identifier for the source that produce the message.
-
-