public interface NewRelicClient
Modifier and Type | Method and Description |
---|---|
String |
getApiEndpoint()
Get API Endpoint URL for looking up credentials.
|
List<Application> |
getApplications(String apiKey)
Get the list of applications available to record deployment notifications for.
|
void |
sendNotification(String apiKey,
String applicationId,
String description,
String revision,
String changelog,
String user)
Submit deployment notification
|
List<Application> getApplications(String apiKey) throws IOException
apiKey
- New Relic API keyIOException
- when HttpClient is not able to be closedvoid sendNotification(String apiKey, String applicationId, String description, String revision, String changelog, String user) throws IOException
apiKey
- New Relic API keyapplicationId
- Application to register deployment fordescription
- Text annotation for the deploymentrevision
- The revision number from your source control systemchangelog
- A list of changes for this deploymentuser
- The name of the user/process that triggered this deploymentIOException
- when HttpClient is not able to be closed or unexpected status code receivedString getApiEndpoint()
Copyright © 2016–2021. All rights reserved.