public class AppRegistration extends Object implements Comparable<AppRegistration>
Resource
.Constructor and Description |
---|
AppRegistration(String name,
ApplicationType type,
URI uri,
org.springframework.core.io.ResourceLoader loader)
Construct an
AppRegistration object. |
AppRegistration(String name,
ApplicationType type,
URI uri,
URI metadataUri,
org.springframework.core.io.ResourceLoader loader)
Construct an
AppRegistration object. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AppRegistration that) |
org.springframework.core.io.Resource |
getMetadataResource() |
URI |
getMetadataUri() |
String |
getName() |
org.springframework.core.io.Resource |
getResource() |
ApplicationType |
getType() |
URI |
getUri() |
String |
toString() |
public AppRegistration(String name, ApplicationType type, URI uri, org.springframework.core.io.ResourceLoader loader)
AppRegistration
object.name
- app nametype
- app typeuri
- URI for the app resourceloader
- the ResourceLoader
that loads the Resource
for this
apppublic AppRegistration(String name, ApplicationType type, URI uri, URI metadataUri, org.springframework.core.io.ResourceLoader loader)
AppRegistration
object.name
- app nametype
- app typeuri
- URI for the app resourcemetadataUri
- URI for the app metadata resourceloader
- the ResourceLoader
that loads the Resource
for this
apppublic String getName()
public ApplicationType getType()
public URI getUri()
public URI getMetadataUri()
public org.springframework.core.io.Resource getMetadataResource()
public org.springframework.core.io.Resource getResource()
public int compareTo(AppRegistration that)
compareTo
in interface Comparable<AppRegistration>
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.