Package io.sentry.config
Class PropertiesProviderFactory
java.lang.Object
io.sentry.config.PropertiesProviderFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PropertiesProvider
create()
Creates a composite properties provider enabling properties resolution from following locations in order: system properties environment variablessentry.properties
file which location is resolved from the system propertysentry.properties.file
sentry.properties
file which location is resolved from the environment variableSENTRY_PROPERTIES_FILE
sentry.properties
located in the root of the classpathsentry.properties
located in the application's current working directory
-
Constructor Details
-
PropertiesProviderFactory
public PropertiesProviderFactory()
-
-
Method Details
-
create
Creates a composite properties provider enabling properties resolution from following locations in order:- system properties
- environment variables
sentry.properties
file which location is resolved from the system propertysentry.properties.file
sentry.properties
file which location is resolved from the environment variableSENTRY_PROPERTIES_FILE
sentry.properties
located in the root of the classpathsentry.properties
located in the application's current working directory
- Returns:
- the properties provider
-