Package net.sf.eBusx.monitor
Class ApplicationInfoReply
- java.lang.Object
-
- net.sf.eBus.messages.EMessageObject
-
- net.sf.eBus.messages.EMessage
-
- net.sf.eBus.messages.EReplyMessage
-
- net.sf.eBusx.monitor.ApplicationInfoReply
-
- All Implemented Interfaces:
java.io.Serializable
public final class ApplicationInfoReply extends EReplyMessage implements java.io.Serializable
Returns application information currently registered withMonitor
.- Author:
- Charles W. Rapp
- See Also:
ApplicationInfoRequest
,ApplicationInfo
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplicationInfoReply.Builder
Builder class used to create anApplicationInfoReply
message.-
Nested classes/interfaces inherited from class net.sf.eBus.messages.EReplyMessage
EReplyMessage.ConcreteBuilder, EReplyMessage.ReplyStatus
-
Nested classes/interfaces inherited from class net.sf.eBus.messages.EMessage
EMessage.MessageType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
appName
The application name.java.lang.String
appVersion
The application version.EField
attributes
The application-specific attributes.java.lang.String
copyright
The application copyright information.java.lang.String
description
Optional human-readable description of this application.java.lang.String
hostName
Application is running on this named host.-
Fields inherited from class net.sf.eBus.messages.EReplyMessage
replyReason, replyStatus
-
Fields inherited from class net.sf.eBus.messages.EMessage
MAX_SUBJECT_LENGTH, subject, timestamp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationInfoReply.Builder
builder()
Returns a new instance of aApplicationInfoReply
message builder.java.lang.String
toString()
Returns the application information message as text.-
Methods inherited from class net.sf.eBus.messages.EReplyMessage
equals, hashCode, isFinal
-
Methods inherited from class net.sf.eBus.messages.EMessage
isApplicationMessage, isSystemMessage, key, messageType, timestampAsInstant
-
-
-
-
Field Detail
-
hostName
public final java.lang.String hostName
Application is running on this named host. Note: this name does not necessarily need to be a network host name but should be a name meaningful to both the monitored system and those monitoring it.
-
appName
public final java.lang.String appName
The application name.
-
appVersion
public final java.lang.String appVersion
The application version.
-
copyright
@Nullable public final java.lang.String copyright
The application copyright information.
-
description
@Nullable public final java.lang.String description
Optional human-readable description of this application.
-
attributes
@Nullable public final EField attributes
The application-specific attributes.
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns the application information message as text.- Overrides:
toString
in classEReplyMessage
- Returns:
- textual representation of application information.
-
builder
public static ApplicationInfoReply.Builder builder()
Returns a new instance of aApplicationInfoReply
message builder.- Returns:
- new message builder instance.
-
-