Package | Description |
---|---|
com.hp.sdn.adm.alert |
Definitions of the services pertaining to the Alert system.
|
com.hp.sdn.adm.dao |
Definitions of data access services for persisting and retrieving
information applicable at the Administrator tier of the SDN Controller.
|
com.hp.sdn.adm.json |
Implementations of Core Services JSON factory and associated codecs.
|
com.hp.sdn.alert |
Definitions of the domain model pertaining to the Alerts.
|
com.hp.sdn.api |
Definitions of services for driving outbound external communications for
interacting with peers and integrating with other external applications,
e.g.
|
Modifier and Type | Method and Description |
---|---|
Alert |
AlertService.post(Severity severity,
AlertTopic topic,
String origin,
String data)
Creates a new
Alert based on the supplied parameters. |
Modifier and Type | Method and Description |
---|---|
List<Alert> |
AlertService.find(AlertFilter filter,
SortSpecification<AlertSortAttribute> sortSpec)
Get a list of all
Alert objects present
in the system, based on the criteria exposed by the supplied filter,
and sorted based on the supplied sort specification. |
Page<Alert> |
AlertService.find(AlertFilter filter,
SortSpecification<AlertSortAttribute> sortSpec,
PageRequest pageRequest)
Returns a page of
Alert objects present in
the system, based on the page specification, the criteria exposed by
the supplied filter, and sorted based on the supplied sort
specification |
Modifier and Type | Method and Description |
---|---|
void |
AlertService.updateState(Alert alert)
Changes the state of a given
Alert |
Modifier and Type | Method and Description |
---|---|
void |
AlertService.importAlerts(List<Alert> alerts)
Accepts a list of
Alert objects and adds
them to the local Alert data persistence. |
Modifier and Type | Method and Description |
---|---|
ReadQuery<List<Alert>> |
QueryService.getFindAlertsQuery(AlertFilter filter,
SortSpecification<AlertSortAttribute> sortSpecification)
Creates a query that will find Alerts based on the supplied query
criteria.
|
ReadQuery<Alert> |
QueryService.getGetAlertQuery(Id<Alert,UUID> id)
Creates a query that gets an alert by its id.
|
ReadQuery<Page<Alert>> |
QueryService.getPageAlertsQuery(AlertFilter filter,
SortSpecification<AlertSortAttribute> sortSpecification,
PageRequest pageRequest)
Creates a query that will find Alerts based on the supplied
query criteria.
|
WriteQuery<Alert> |
QueryService.getUpdateAlertStateQuery(Alert alert)
Creates a write query to alter the state of an alert.
|
Modifier and Type | Method and Description |
---|---|
WriteQuery<Boolean> |
QueryService.getAddAlertQuery(Alert alert)
Creates a write query to add a new Alert to the system.
|
WriteQuery<Alert> |
QueryService.getUpdateAlertStateQuery(Alert alert)
Creates a write query to alter the state of an alert.
|
Modifier and Type | Method and Description |
---|---|
WriteQuery<Long> |
QueryService.getAddAlertListQuery(List<Alert> alerts)
Creates a write query to add a list of alerts to the persistence.
|
ReadQuery<Alert> |
QueryService.getGetAlertQuery(Id<Alert,UUID> id)
Creates a query that gets an alert by its id.
|
Modifier and Type | Method and Description |
---|---|
Alert |
AlertCodec.decode(com.fasterxml.jackson.databind.node.ObjectNode node) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
AlertCodec.encode(Alert alert) |
Modifier and Type | Method and Description |
---|---|
List<Alert> |
AlertSummary.getMiniAlertList()
Returns the list of alerts to be reported in the summary.
|
Constructor and Description |
---|
Alert(Id<Alert,UUID> id,
Id<SystemInformation,UUID> sysId,
boolean state,
String topicId,
String origin,
Date timestamp,
Severity severity,
String description)
Constructs an instance of an Alert with a unique identification.
|
AlertSummary(long count,
List<Alert> alerts,
Severity highestSeverity)
Construct an alert summary data with the supplied parameters.
|
Modifier and Type | Method and Description |
---|---|
Pair<List<Alert>,DataSize> |
AlertTransferService.get(SystemInformation self,
SystemInformation system,
Date from)
Requests alerts from the given system.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertPostService.post(URI uri,
Alert alert)
Send the given alert to the given URI.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertTransferService.send(List<Alert> alerts)
Add an alert to be shared with other team members.
|
Copyright © 2015. All Rights Reserved.