Class BackingApplication
java.lang.Object
org.springframework.cloud.appbroker.deployer.BackingApplication
An application deployed as part of the service provisioning process
-
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 valuevoidaddProperty(String key, String value) Add a single propertybuilder()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
-