public class YamlConfigLocator extends AbstractConfigLocator
YamlConfigBuilder
that locates the YAML configuration:
Constructor and Description |
---|
YamlConfigLocator() |
YamlConfigLocator(boolean failIfSysPropWithNotExpectedSuffix) |
Modifier and Type | Method and Description |
---|---|
boolean |
locateDefault()
Locates the default configuration file.
|
boolean |
locateFromSystemProperty()
Locates the configuration file in a system property.
|
protected boolean |
locateInWorkDir()
Locates the configuration file in the working directory.
|
protected boolean |
locateOnClasspath()
Locates the configuration file on the classpath.
|
getConfigurationFile, getConfigurationUrl, getIn, isConfigPresent, loadConfigurationFromClasspath, loadDefaultConfigurationFromClasspath, loadFromSystemProperty, loadFromWorkingDirectory, locateEverywhere, locateInWorkDirOrOnClasspath
public YamlConfigLocator()
public YamlConfigLocator(boolean failIfSysPropWithNotExpectedSuffix)
public boolean locateFromSystemProperty()
AbstractConfigLocator
locateFromSystemProperty
in class AbstractConfigLocator
protected boolean locateInWorkDir()
AbstractConfigLocator
locateInWorkDir
in class AbstractConfigLocator
protected boolean locateOnClasspath()
AbstractConfigLocator
locateOnClasspath
in class AbstractConfigLocator
public boolean locateDefault()
AbstractConfigLocator
locateDefault
in class AbstractConfigLocator
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.