public class YamlConfigLocator extends AbstractConfigLocator
YamlConfigBuilder that locates the YAML configuration:
| Type | Property and Description |
|---|---|
boolean |
locateFromSystem
Locates the configuration file in a system property.
|
| 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, locateInWorkDirOrOnClasspathpublic boolean locateFromSystemProperty
locateFromSystemProperty in class AbstractConfigLocatorpublic YamlConfigLocator()
public YamlConfigLocator(boolean failIfSysPropWithNotExpectedSuffix)
public boolean locateFromSystemProperty()
AbstractConfigLocatorlocateFromSystemProperty in class AbstractConfigLocatorprotected boolean locateInWorkDir()
AbstractConfigLocatorlocateInWorkDir in class AbstractConfigLocatorprotected boolean locateOnClasspath()
AbstractConfigLocatorlocateOnClasspath in class AbstractConfigLocatorpublic boolean locateDefault()
AbstractConfigLocatorlocateDefault in class AbstractConfigLocatorCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.