@ApiStatus.Internal
public final class PropertiesProviderFactory
extends java.lang.Object
Constructor and Description |
---|
PropertiesProviderFactory() |
Modifier and Type | Method and Description |
---|---|
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 property
sentry.properties.file
sentry.properties file which location is resolved from the environment
variable SENTRY_PROPERTIES_FILE
sentry.properties located in the root of the classpath
|
@NotNull public static @NotNull PropertiesProvider create()
sentry.properties
file which location is resolved from the system property
sentry.properties.file
sentry.properties
file which location is resolved from the environment
variable SENTRY_PROPERTIES_FILE
sentry.properties
located in the root of the classpath