Class BackingApplication
java.lang.Object
org.springframework.cloud.appbroker.deployer.BackingApplication
An application deployed as part of the service provisioning process.
- Author:
- Scott Frederick, Roy Clarkson, Oliver Hughes, Alexey Nesterov, Alberto Rios
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProvides a fluent API for constructing a BackingApplication. -
Constructor Summary
ConstructorsConstructorDescriptionBackingApplication(String name, String path, Map<String, String> properties, Map<String, Object> environment, List<ServicesSpec> services, List<ParametersTransformerSpec> parametersTransformers) Construct a newBackingApplication. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnvironment(String key, Object value) Add a single environment value.voidaddProperty(String key, String value) Add a single property.builder()Create a builder that provides a fluent API for constructing a BackingApplication.final booleangetName()getPath()final inthashCode()voidsetEnvironment(Map<String, Object> environment) voidvoidsetParametersTransformers(List<ParametersTransformerSpec> parametersTransformers) voidvoidsetProperties(Map<String, String> properties) voidsetServices(List<ServicesSpec> services) toString()
-
Constructor Details
-
BackingApplication
public BackingApplication(String name, String path, Map<String, String> properties, Map<String, Object> environment, List<ServicesSpec> services, List<ParametersTransformerSpec> parametersTransformers) Construct a newBackingApplication.- Parameters:
name- the name of the applicationpath- the path to the applicationproperties- the propertiesenvironment- the environment variablesservices- the services required by the applicationparametersTransformers- the parameter transformers
-
-
Method Details
-
getName
-
setName
-
getPath
-
setPath
-
getProperties
-
setProperties
-
addProperty
Add a single property.- Parameters:
key- the keyvalue- the value
-
getEnvironment
-
setEnvironment
-
addEnvironment
Add a single environment value.- Parameters:
key- the keyvalue- the value
-
getServices
-
setServices
-
getParametersTransformers
-
setParametersTransformers
-
builder
Create a builder that provides a fluent API for constructing a BackingApplication.- Returns:
- the builder
-
equals
-
hashCode
public final int hashCode() -
toString
-