Interface AlarmingResource
public interface AlarmingResource
An identifier for the resource that signaled an alarm.
The resource is identified by its path in configuration and, when applicable, its configuration type and ID.
- Since:
- 5.2.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the node ID this resource triggered an alarm on, if applicable.Returns the ID of this resource, if one is applicable.Returns the type of this resource, if one is applicable.
-
Method Details
-
getResourceType
Returns the type of this resource, if one is applicable.- Returns:
- the type as a
ResourceType, ornull.
-
getResourceId
Returns the ID of this resource, if one is applicable.- Returns:
- the ID as a
String, ornull.
-
getNodeId
Returns the node ID this resource triggered an alarm on, if applicable.- Returns:
- the node ID as a
String, ornull.
-