
com.undefinedlabs.scope.settings.ScopeSettingsResolver Maven / Gradle / Ivy
package com.undefinedlabs.scope.settings;
import com.undefinedlabs.scope.settings.props.SystemScopeEnvironmentProperties;
import com.undefinedlabs.scope.settings.props.YamlScopeConfigFileProperties;
import com.undefinedlabs.scope.settings.props.shared.NativeAppScopeProfileFileResolver;
import com.undefinedlabs.scope.settings.props.shared.NativeAppScopeProfilePropertiesResolver;
public enum ScopeSettingsResolver {
INSTANCE;
private static final ScopeSettings SCOPE_SETTINGS;
static {
SCOPE_SETTINGS =
new ScopeSettingsFactoryResolver(
new ScopeSettingsFactoryResolverOpts(
new ScopeExtProperties(
NativeAppScopeProfilePropertiesResolver.INSTANCE.resolve(
NativeAppScopeProfileFileResolver.INSTANCE,
ScopeOsResolverFacade.INSTANCE),
SystemScopeEnvironmentProperties.INSTANCE,
YamlScopeConfigFileProperties.INSTANCE),
new ScopeTestingFrameworkDetector()))
.get()
.create();
}
public ScopeSettings get() {
return SCOPE_SETTINGS;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy