Class BackingApplication
java.lang.Object
org.springframework.cloud.appbroker.deployer.BackingApplication
An application deployed as part of the service provisioning process
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Provides a fluent API for constructing a BackingApplication. -
Constructor Summary
ConstructorDescriptionBackingApplication
(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 TypeMethodDescriptionvoid
addEnvironment
(String key, Object value) Add a single environment valuevoid
addProperty
(String key, String value) Add a single propertybuilder()
Create a builder that provides a fluent API for constructing a BackingApplication.final boolean
getName()
getPath()
final int
hashCode()
void
setEnvironment
(Map<String, Object> environment) void
void
setParametersTransformers
(List<ParametersTransformerSpec> parametersTransformers) void
void
setProperties
(Map<String, String> properties) void
setServices
(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
-