Class ManagedNotification
- java.lang.Object
- org.springframework.jmx.export.metadata.ManagedNotification
public class ManagedNotification extends Object
Metadata that indicates a JMX notification emitted by a bean.- Since:
- 2.0
- Author:
- Rob Harrop
Constructor Summary
Constructors Constructor Description ManagedNotification()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Return a description for this notification.String
getName()
Return the name of this notification.String[]
getNotificationTypes()
Return the list of notification types.void
setDescription(String description)
Set a description for this notification.void
setName(String name)
Set the name of this notification.void
setNotificationType(String notificationType)
Set a single notification type, or a list of notification types as comma-delimited String.void
setNotificationTypes(String... notificationTypes)
Set a list of notification types.
Constructor Detail
ManagedNotification
public ManagedNotification()
Method Detail
setNotificationType
public void setNotificationType(String notificationType)
Set a single notification type, or a list of notification types as comma-delimited String.
setNotificationTypes
public void setNotificationTypes(@Nullable String... notificationTypes)
Set a list of notification types.
getNotificationTypes
@Nullable public String[] getNotificationTypes()
Return the list of notification types.
setDescription
public void setDescription(@Nullable String description)
Set a description for this notification.
getDescription
@Nullable public String getDescription()
Return a description for this notification.