Class ServiceMetadata
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.ServiceMetadata
Internal class for marshaling
ServiceBrokerProperties configuration properties
that describes a service offered by this broker.- Author:
- Roy Clarkson
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the display name of the service.Get the documentation URL.Get the image URL.Get the image URL resource path.Get the long description of the service.Get the additional properties for the service metadata.Get the provider display name.Get the support URL.voidsetDisplayName(String displayName) Set the display name of the service.voidsetDocumentationUrl(String documentationUrl) Set the documentation URL.voidsetImageUrl(String imageUrl) Set the image URL.voidsetImageUrlResource(String imageUrlResource) Set the image URL resource path.voidsetLongDescription(String longDescription) Set the long description of the service.voidsetProperties(Map<String, Object> properties) Set additional properties for the service metadata.voidsetProviderDisplayName(String providerDisplayName) Set the provider display name.voidsetSupportUrl(String supportUrl) Set the support URL.toModel()Converts this object into its corresponding model.
-
Constructor Details
-
ServiceMetadata
public ServiceMetadata()
-
-
Method Details
-
getDisplayName
Get the display name of the service.- Returns:
- the display name
-
setDisplayName
Set the display name of the service.- Parameters:
displayName- the display name
-
getImageUrl
Get the image URL.- Returns:
- the image URL
-
getImageUrlResource
Get the image URL resource path.- Returns:
- the image URL resource path
-
setImageUrlResource
Set the image URL resource path.- Parameters:
imageUrlResource- the image URL resource path
-
setImageUrl
Set the image URL.- Parameters:
imageUrl- the image URL
-
getLongDescription
Get the long description of the service.- Returns:
- the long description
-
setLongDescription
Set the long description of the service.- Parameters:
longDescription- the long description
-
getProviderDisplayName
Get the provider display name.- Returns:
- the provider display name
-
setProviderDisplayName
Set the provider display name.- Parameters:
providerDisplayName- the provider display name
-
getDocumentationUrl
Get the documentation URL.- Returns:
- the documentation URL
-
setDocumentationUrl
Set the documentation URL.- Parameters:
documentationUrl- the documentation URL
-
getSupportUrl
Get the support URL.- Returns:
- the support URL
-
setSupportUrl
Set the support URL.- Parameters:
supportUrl- the support URL
-
getProperties
Get the additional properties for the service metadata.- Returns:
- the properties map
-
setProperties
Set additional properties for the service metadata.- Parameters:
properties- the properties map
-
toModel
Converts this object into its corresponding model.- Returns:
- a Map model
- See Also:
-