com.rollbar.notifier.config.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rollbar-java Show documentation
Show all versions of rollbar-java Show documentation
For connecting your applications built on the JVM to Rollbar for Error Reporting
package com.rollbar.notifier.config;
import com.rollbar.api.payload.data.Client;
import com.rollbar.api.payload.data.Level;
import com.rollbar.api.payload.data.Notifier;
import com.rollbar.api.payload.data.Person;
import com.rollbar.api.payload.data.Request;
import com.rollbar.api.payload.data.Server;
import com.rollbar.notifier.Rollbar;
import com.rollbar.notifier.filter.Filter;
import com.rollbar.notifier.fingerprint.FingerprintGenerator;
import com.rollbar.notifier.provider.Provider;
import com.rollbar.notifier.sender.Sender;
import com.rollbar.notifier.transformer.Transformer;
import com.rollbar.notifier.uuid.UuidGenerator;
import java.net.Proxy;
import java.util.List;
import java.util.Map;
/**
* The configuration for the {@link Rollbar notifier}.
*/
public interface Config {
/**
* Get the access token.
*
* @return the Rollbar access token.
*/
String accessToken();
/**
* Get the Rollbar endpoint.
*
* @return the Rollbar endpoint.
*/
String endpoint();
/**
* Get the environment.
*
* @return the environment.
*/
String environment();
/**
* Get the code version.
*
* @return the code version.
*/
String codeVersion();
/**
* Get the platform.
*
* @return the platform.
*/
String platform();
/**
* Get the language.
*
* @return the language.
*/
String language();
/**
* Get the framework.
*
* @return the framework.
*/
String framework();
/**
* Get the context provider.
*
* @return the context.
*/
Provider context();
/**
* Get the {@link Request request} {@link Provider provider}.
*
* @return the request.
*/
Provider request();
/**
* Get the {@link Person person} {@link Provider provider}.
*
* @return the person.
*/
Provider person();
/**
* Get the {@link Server server} {@link Provider provider}.
*
* @return the server.
*/
Provider server();
/**
* Get the {@link Client client} {@link Provider provider}.
*
* @return the server.
*/
Provider client();
/**
* Get the custom {@link Provider provider}.
*
* @return the provider of any custom values.
*/
Provider