public class DetailedAppRegistrationResource extends AppRegistrationResource
AppRegistrationResource
that contains application options and
other detailed application information.Modifier and Type | Class and Description |
---|---|
static class |
DetailedAppRegistrationResource.Page
Dedicated subclass to workaround type erasure.
|
Modifier | Constructor and Description |
---|---|
protected |
DetailedAppRegistrationResource()
Default constructor for serialization frameworks.
|
|
DetailedAppRegistrationResource(AppRegistrationResource resource)
Construct a
DetailedAppRegistrationResource object based on the provided
AppRegistrationResource . |
|
DetailedAppRegistrationResource(String name,
String type,
String version,
String coordinates,
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion,
Boolean isDefault)
Construct a
DetailedAppRegistrationResource object. |
Modifier and Type | Method and Description |
---|---|
void |
addInboundPortName(String inboundPortName)
Add application's inbound port name.
|
void |
addOption(org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty option)
Add an application option.
|
void |
addOutboundPortName(String outboundPortName)
Add application's outbound port name.
|
Set<String> |
getInboundPortNames()
Return a set of application's inbound port names.
|
Map<String,Set<String>> |
getOptionGroups()
Return an option groups.
|
List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> |
getOptions()
Return a list of application options.
|
Set<String> |
getOutboundPortNames()
Return a set of application's outbound port names.
|
String |
getShortDescription()
Return a description for this application.
|
void |
setShortDescription(String shortDescription)
Set a description for this application.
|
getBootVersion, getDefaultVersion, getLabel, getName, getType, getUri, getVersion, getVersions, setLabel
protected DetailedAppRegistrationResource()
public DetailedAppRegistrationResource(String name, String type, String version, String coordinates, org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion, Boolean isDefault)
DetailedAppRegistrationResource
object.name
- application nametype
- application typeversion
- application versioncoordinates
- Maven coordinates for the application artifactbootVersion
- Spring Boot version of the application.isDefault
- is this the default apppublic DetailedAppRegistrationResource(AppRegistrationResource resource)
DetailedAppRegistrationResource
object based on the provided
AppRegistrationResource
.resource
- AppRegistrationResource
from which to obtain app registration
datapublic void addOption(org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty option)
option
- application option to addpublic List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> getOptions()
public void addInboundPortName(String inboundPortName)
inboundPortName
- application's inbound port name to addpublic void addOutboundPortName(String outboundPortName)
outboundPortName
- application's outbound port name to addpublic Set<String> getInboundPortNames()
public Set<String> getOutboundPortNames()
public String getShortDescription()
public Map<String,Set<String>> getOptionGroups()
public void setShortDescription(String shortDescription)
shortDescription
- description for applicationCopyright © 2024 Pivotal Software, Inc.. All rights reserved.