Package com.atlassian.diagnostics
Interface ComponentMonitor
public interface ComponentMonitor
-
Method Summary
Modifier and TypeMethodDescriptionvoidalert(AlertRequest request) Raises a new alert for thecomponent.defineIssue(int issueId) getIssue(int issueId) boolean
-
Method Details
-
alert
Raises a new alert for thecomponent.- Parameters:
request- alert details, including the identifiedIssue
-
defineIssue
- Parameters:
issueId- the numeric issue ID, which must be in the 1-9999 range- Returns:
- a builder for the issue
-
getComponent
- Returns:
- the component for which this is a monitor
-
getIssue
- Parameters:
issueId- the component-specific ID of the issue to retrieve- Returns:
- the issue, if defined for this monitor, otherwise
Optional.empty()
-
getIssues
- Returns:
- the issues configured for this monitor
-
isEnabled
boolean isEnabled()- Returns:
trueif the monitoring feature is enabled, otherwisefalse
-