public class MasterProperties extends Specification
| Modifier | Constructor and Description |
|---|---|
protected |
MasterProperties(java.lang.String id,
java.lang.String resourcePath,
java.io.File secretsDir) |
| Modifier and Type | Method and Description |
|---|---|
static MasterProperties |
getFor(java.lang.String id,
java.io.File secretsDir)
Primary factory.
|
static MasterProperties |
getFor(java.lang.String id,
java.lang.String resourcePath,
java.io.File secretsDir)
Factory.
|
java.lang.String |
getId() |
java.util.List<java.lang.String> |
getInstanceIdentifiers() |
java.lang.String |
getInstanceIdentifiersListingPropertyName() |
containsKey, convertToMap, convertToMap, get, getBoolean, getBoolean, getInteger, getInteger, getKeys, getString, getString, isEmpty, isFalse, isTrue, loadProperties, loadProperties, loadPropertiesFromFile, loadPropertiesFromFile, loadPropertiesFromList, loadPropertiesFromResource, parseListinggetProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsValue, elements, entrySet, equals, forEach, getOrDefault, hashCode, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuesprotected MasterProperties(java.lang.String id,
java.lang.String resourcePath,
java.io.File secretsDir)
public static MasterProperties getFor(java.lang.String id, java.io.File secretsDir)
id - The master identifiersecretsDir - The directory to start looking for secrets inpublic static MasterProperties getFor(java.lang.String id, java.lang.String resourcePath, java.io.File secretsDir)
getFor(String, File) function is preferred.id - The instance identifierresourcePath - The resource path for the properties resourcesecretsDir - The directory to start looking for secrets inpublic java.lang.String getId()
public java.util.List<java.lang.String> getInstanceIdentifiers()
public java.lang.String getInstanceIdentifiersListingPropertyName()