Class PlanMetadata
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.PlanMetadata
Internal class for marshaling
ServiceBrokerProperties
configuration properties
that describes a service offered by this broker.- Author:
- Roy Clarkson
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCosts()
getProperty
(String key) Get the value of a property with the given key.void
setBullets
(List<String> bullets) void
void
setDisplayName
(String displayName) void
setProperties
(Map<String, Object> properties) toModel()
Converts this object into its corresponding model.
-
Constructor Details
-
PlanMetadata
public PlanMetadata()
-
-
Method Details
-
getCosts
-
setCosts
-
getBullets
-
setBullets
-
getDisplayName
-
setDisplayName
-
getProperties
-
setProperties
-
getProperty
Get the value of a property with the given key.- Parameters:
key
- the key of the value to retrieve- Returns:
- the value of the property, or null if the key is not present in the bind resource
-
toModel
Converts this object into its corresponding model.- Returns:
- a Map model
- See Also:
-