| | |
| | | * Creates an instance of this panel that uses MonitoringAttributes as |
| | | * attributes. |
| | | * @param attributes the list of possible attributes. |
| | | * @return an instance of this panel that uses String as attributes. |
| | | * @return an instance of this panel that uses MonitoringAttributes as |
| | | * attributes. |
| | | */ |
| | | public static MonitoringAttributesViewPanel<MonitoringAttributes> |
| | | createMonitoringAttributesInstance( |
| | |
| | | } |
| | | |
| | | /** |
| | | * Creates an instance of this panel that uses Message as |
| | | * attributes. |
| | | * @param attributes the list of possible attributes. |
| | | * @return an instance of this panel that uses Message as attributes. |
| | | */ |
| | | public static MonitoringAttributesViewPanel<Message> |
| | | createMessageInstance(LinkedHashSet<Message> attributes) |
| | | { |
| | | return new MonitoringAttributesViewPanel<Message>(attributes); |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | |
| | | { |
| | | m = ((MonitoringAttributes)operation).getMessage(); |
| | | } |
| | | else if (operation instanceof Message) |
| | | { |
| | | m = (Message)operation; |
| | | } |
| | | else |
| | | { |
| | | m = Message.raw(operation.toString()); |