All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ocadotechnology.newrelic.apiclient.ApplicationsApi Maven / Gradle / Ivy

Go to download

NewRelic Alerts Configurator can be used to configure NewRelic alerts for your application. Instead of defining alerts through UI you can define them in code. It allows you to automatize alerts configuration, easily recover them in case of wipe out and have full history of changes in your version control system.

There is a newer version: 5.0.1
Show newest version
package com.ocadotechnology.newrelic.apiclient;

import com.ocadotechnology.newrelic.apiclient.model.applications.Application;

import java.util.Optional;

public interface ApplicationsApi {
    /**
     * Gets {@link Application} object using its name.
     *
     * @param applicationName name of the application registered in NewRelic
     * @return Optional containing {@link Application} object, or empty if application not found
     */
    Optional getByName(String applicationName);

    /**
     * Updates {@link Application} object.
     *
     * @param applicationId id of the application to be updated
     * @param application   application definition to be updated
     * @return updated {@link Application}
     */
    Application update(int applicationId, Application application);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy