|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NewRelicClient
REST client interface for the New Relic API.
| Method Summary | |
|---|---|
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. |
boolean |
sendNotification(String apiKey,
String applicationId,
String description,
String revision,
String changelog,
String user)
Submit deployment notification |
| Method Detail |
|---|
List<Application> getApplications(String apiKey)
throws IOException
apiKey - New Relic API key
IOException
boolean 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 deployment
IOExceptionString getApiEndpoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||