Skip navigation links
A C G I L M P S V W 

A

application - Variable in class com.brambolt.wrench.ApplicationProperties
The encapsulated name-value pairs.
applicationId - Variable in class com.brambolt.wrench.ApplicationProperties
The application identifier string.
ApplicationProperties - Class in com.brambolt.wrench
Encapsulates properties for a single application.
ApplicationProperties(InstanceProperties, String) - Constructor for class com.brambolt.wrench.ApplicationProperties
Deprecated.
apply(Project) - Method in class com.brambolt.wrench.gradle.plugins.WrenchPropertiesPlugin
Applies the plugin - does nothing.

C

com.brambolt - package com.brambolt
 
com.brambolt.wrench - package com.brambolt.wrench
 
com.brambolt.wrench.gradle.plugins - package com.brambolt.wrench.gradle.plugins
 
containsKey(Object) - Method in class com.brambolt.Specification
If Map#containsKey is invoked the result will be as expected when the parameter name exists as a property, but false when it was included in defaults.
convertToMap() - Method in class com.brambolt.Specification
 
convertToMap(Collection<String>) - Method in class com.brambolt.Specification
 
create(String) - Static method in class com.brambolt.wrench.SystemProperties
 

G

get(Object) - Method in class com.brambolt.Specification
This override is ugly but necessary; if #get in inadvertently invoked instead of #getProperty then all is well as long as the parameter name specifies a property that is present.
getApplicationsKey() - Method in class com.brambolt.wrench.InstanceProperties
Returns the application listing key.
getBoolean(String) - Method in class com.brambolt.Specification
Accessor for a boolean property; returns true if the property value is "true", returns false in all other cases unless the property is not present in which case null is returned.
getBoolean(String, Boolean) - Method in class com.brambolt.Specification
Accessor for a boolean property; returns true if the property value is "true", returns false in all other cases except when the property is not present when the provided default value is returned.
getEnvironmentsKey() - Method in class com.brambolt.wrench.InstanceProperties
Returns the environment listing key.
getFor(String, String, File) - Static method in class com.brambolt.wrench.ApplicationProperties
Primary factory method.
getFor(String, File) - Static method in class com.brambolt.wrench.InstanceProperties
Primary factory.
getFor(String, String, String, File) - Static method in class com.brambolt.wrench.InstanceProperties
Factory.
getFor(String, Properties, File) - Static method in class com.brambolt.wrench.InstanceProperties
Factory.
getFor(String, Properties, String, File) - Static method in class com.brambolt.wrench.InstanceProperties
Factory.
getFor(String, File) - Static method in class com.brambolt.wrench.MasterProperties
Primary factory.
getFor(String, String, File) - Static method in class com.brambolt.wrench.MasterProperties
Factory.
getFor(String) - Static method in class com.brambolt.wrench.SystemProperties
 
getHostsKey() - Method in class com.brambolt.wrench.InstanceProperties
Returns the host listing key.
getId() - Method in class com.brambolt.wrench.InstanceProperties
The instance identifier, such as some.example.system.
getId() - Method in class com.brambolt.wrench.MasterProperties
 
getInstanceIdentifiers() - Method in class com.brambolt.wrench.MasterProperties
 
getInstanceIdentifiersListingPropertyName() - Method in class com.brambolt.wrench.MasterProperties
 
getInstancePropertiesResourcePath(String) - Static method in class com.brambolt.wrench.InstanceProperties
Looks up the resource path for the instance properties.
getInteger(String) - Method in class com.brambolt.Specification
Accessor for an integer property; returns the parsed integer if the property value can be parsed, returns null if the property is not defined and throws RuntimeException (with a wrapped NumberFormatException) if the property is available but can't be parsed to an integer.
getInteger(String, Integer) - Method in class com.brambolt.Specification
Accessor for an integer property; returns the parsed integer if the property value can be parsed, returns a default if the property is not defined and throws RuntimeException (with a wrapped NumberFormatException) if the property is available but can't be parsed to an integer.
getKeys() - Method in class com.brambolt.Specification
 
getRelativeMap(String) - Method in class com.brambolt.wrench.ApplicationProperties
Looks up a property value given a property name suffix.
getRelativeProperty(String) - Method in class com.brambolt.wrench.ApplicationProperties
Looks up a property value given a property name suffix.
getRelativeString(String) - Method in class com.brambolt.wrench.ApplicationProperties
Looks up a string property value given a property name suffix.
getResourcePath() - Method in class com.brambolt.wrench.InstanceProperties
Returns the resource path to the instance.properties file.
getResourcePath() - Method in class com.brambolt.wrench.SystemProperties
Getter.
getRunbooksKey() - Method in class com.brambolt.wrench.InstanceProperties
Returns the runbook listing key.
getString(String) - Method in class com.brambolt.Specification
Accessor for a string property; returns the string value if the property value is defined, or returns null if the property is not defined.
getString(String, String) - Method in class com.brambolt.Specification
Accessor for a string property; returns the string value if the property value exists, or returns a default if the property is not defined.
getSystem() - Method in class com.brambolt.wrench.InstanceProperties
Accessor for the system properties.
getSystemPropertiesResourcePath(String) - Static method in class com.brambolt.wrench.InstanceProperties
Looks up the resource path for the system properties.
getSystemResourcePath(String) - Static method in class com.brambolt.wrench.InstanceProperties
Converts the id to the system resource path.
getSystemResourcePath() - Method in class com.brambolt.wrench.InstanceProperties
The system resource path, derived from the system identifier.
getTargets() - Method in class com.brambolt.wrench.InstanceProperties
Accessor for the targets.
getUnitKey(String) - Method in class com.brambolt.wrench.InstanceProperties
Returns the key that lists the units with the parameter unit type.

I

instanceProperties - Variable in class com.brambolt.wrench.ApplicationProperties
The properties for the system instance the application is part of.
InstanceProperties - Class in com.brambolt.wrench
Specifies the properties of an instance of, something.
InstanceProperties(Properties, String, File, String) - Constructor for class com.brambolt.wrench.InstanceProperties
Constructor.
instantiate(String, String) - Method in class com.brambolt.wrench.ApplicationProperties
Instantiates the class identified by the relative property.
instantiate(String, Class<?>[], Object[], String) - Method in class com.brambolt.wrench.ApplicationProperties
Instantiates the class identified by the relative property.
invokeFactory(String, Class<?>[], Object[], String) - Method in class com.brambolt.wrench.ApplicationProperties
Instantiates an object using the factory method defined as the value of the application property passed as the relativeFactory.
isEmpty() - Method in class com.brambolt.Specification
 
isFalse(String) - Method in class com.brambolt.Specification
 
isTrue(String) - Method in class com.brambolt.Specification
 

L

loadProperties(String, InputStream) - Method in class com.brambolt.Specification
 
loadProperties(String, InputStream, Properties) - Static method in class com.brambolt.Specification
 
loadPropertiesFromFile(String) - Method in class com.brambolt.Specification
 
loadPropertiesFromFile(File) - Method in class com.brambolt.Specification
 
loadPropertiesFromList(String) - Method in class com.brambolt.Specification
Takes a parameter properties key with a list value and loads a properties file for each element in the list.
loadPropertiesFromResource(String) - Method in class com.brambolt.Specification
 

M

MasterProperties - Class in com.brambolt.wrench
 
MasterProperties(String, String, File) - Constructor for class com.brambolt.wrench.MasterProperties
 

P

parseListing(String) - Static method in class com.brambolt.Specification
 

S

SECRETS_PROPERTIES_RESOURCE_NAME - Static variable in class com.brambolt.wrench.InstanceProperties
Default base name for properties file in file system for reading secrets.
shorten4(String) - Static method in class com.brambolt.Versioning
Converts 10.1.2.3 to 101203 and 10.1.2.10 to 101210.
Specification - Class in com.brambolt
 
Specification() - Constructor for class com.brambolt.Specification
 
Specification(Properties) - Constructor for class com.brambolt.Specification
 
SystemProperties - Class in com.brambolt.wrench
Defines global system properties.
SystemProperties(String) - Constructor for class com.brambolt.wrench.SystemProperties
 

V

Versioning - Class in com.brambolt
Versioning utilities.
Versioning() - Constructor for class com.brambolt.Versioning
 

W

WrenchPropertiesPlugin - Class in com.brambolt.wrench.gradle.plugins
A plugin class to enable integrating properties using Gradle's plugin mechanisms.
WrenchPropertiesPlugin() - Constructor for class com.brambolt.wrench.gradle.plugins.WrenchPropertiesPlugin
 
A C G I L M P S V W 
Skip navigation links