public class YamlClientConfigLocator extends AbstractConfigLocator
YamlClientConfigBuilder
to locate the client
YAML configuration.Type | Property and Description |
---|---|
boolean |
locateFromSystem
Locates the configuration file in a system property.
|
Constructor and Description |
---|
YamlClientConfigLocator() |
YamlClientConfigLocator(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 boolean locateFromSystemProperty
locateFromSystemProperty
in class AbstractConfigLocator
public YamlClientConfigLocator()
public YamlClientConfigLocator(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.