Package io.sentry.config
Class PropertiesProviderFactory
- java.lang.Object
-
- io.sentry.config.PropertiesProviderFactory
-
@Internal public final class PropertiesProviderFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PropertiesProviderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @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
-
-
-
Method Detail
-
create
@NotNull public static @NotNull PropertiesProvider 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
-
-