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