public class AppRegistrationResource extends org.springframework.hateoas.RepresentationModel<AppRegistrationResource>
Modifier and Type | Class and Description |
---|---|
static class |
AppRegistrationResource.Page
Dedicated subclass to workaround type erasure.
|
Modifier | Constructor and Description |
---|---|
protected |
AppRegistrationResource()
Default constructor for serialization frameworks.
|
|
AppRegistrationResource(String name,
String type,
String uri) |
|
AppRegistrationResource(String name,
String type,
String version,
String uri,
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion,
Boolean defaultVersion)
Construct a
AppRegistrationResource . |
|
AppRegistrationResource(String name,
String type,
String version,
String uri,
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion,
Boolean defaultVersion,
Set<String> versions)
Construct a
AppRegistrationResource . |
|
AppRegistrationResource(String name,
String type,
String version,
String uri,
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion,
Boolean defaultVersion,
Set<String> versions,
String label)
Construct a
AppRegistrationResource . |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.dataflow.schema.AppBootSchemaVersion |
getBootVersion() |
Boolean |
getDefaultVersion() |
String |
getLabel() |
String |
getName() |
String |
getType() |
String |
getUri() |
String |
getVersion() |
Set<String> |
getVersions() |
void |
setLabel(String label) |
protected AppRegistrationResource()
public AppRegistrationResource(String name, String type, String version, String uri, org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion, Boolean defaultVersion)
AppRegistrationResource
.name
- app nametype
- app typeversion
- app versionuri
- uri for app resourcebootVersion
- Spring Boot version of the applicationdefaultVersion
- is this application selected to the be default version in DSLpublic AppRegistrationResource(String name, String type, String version, String uri, org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion, Boolean defaultVersion, Set<String> versions)
AppRegistrationResource
.name
- app nametype
- app typeversion
- app versionuri
- uri for app resourcebootVersion
- Spring Boot version of the applicationdefaultVersion
- is this application selected to the be default version in DSLversions
- all the registered versions of this applicationpublic AppRegistrationResource(String name, String type, String version, String uri, org.springframework.cloud.dataflow.schema.AppBootSchemaVersion bootVersion, Boolean defaultVersion, Set<String> versions, String label)
AppRegistrationResource
.name
- app nametype
- app typeversion
- app versionuri
- uri for app resourcebootVersion
- Spring Boot version of the applicationdefaultVersion
- is this application selected to the be default version in DSLversions
- all the registered versions of this applicationlabel
- the label name of the applicationpublic String getName()
public String getType()
public String getUri()
public String getVersion()
public org.springframework.cloud.dataflow.schema.AppBootSchemaVersion getBootVersion()
public Boolean getDefaultVersion()
public String getLabel()
public void setLabel(String label)
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.