public class VcapApplication extends Object
VCAP_APPLICATION environment variable of Cloud Foundry.| Modifier and Type | Class and Description |
|---|---|
static class |
VcapApplication.Limits
Represents the resource limits imposed upon a Cloud Foundry application.
|
| Constructor and Description |
|---|
VcapApplication() |
VcapApplication(String applicationId,
String applicationName,
String name,
List<String> applicationUris,
List<String> uris,
String applicationVersion,
String version,
String host,
String instanceId,
int instanceIndex,
VcapApplication.Limits limits,
int port,
String startedAt,
String start,
long startedAtTimestamp,
long stateTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
GUID that identifies the application.
|
String |
getApplicationName()
The name assigned to the application when it was pushed.
|
List<String> |
getApplicationUris()
The URI(s) assigned to the application.
|
String |
getApplicationVersion()
GUID that identifies a version of the application that was pushed.
|
String |
getHost()
IP address of the application instance.
|
String |
getInstanceId()
GUID that identifies the application instance.
|
int |
getInstanceIndex()
Index number of the instance.
|
VcapApplication.Limits |
getLimits()
The memory, disk, and number of files permitted to the instance.
|
String |
getName()
The name assigned to the application when it was pushed.
|
int |
getPort()
Port of the application instance.
|
String |
getStart()
The last time the application was started.
|
String |
getStartedAt()
The last time the application was started.
|
long |
getStartedAtTimestamp()
Timestamp for the last time the application was started.
|
long |
getStateTimestamp()
The timestamp for the time at which the application achieved its current
state.
|
List<String> |
getUris()
The URI(s) assigned to the application.
|
String |
getVersion()
GUID that identifies a version of the application that was pushed.
|
public VcapApplication()
public VcapApplication(String applicationId, String applicationName, String name, List<String> applicationUris, List<String> uris, String applicationVersion, String version, String host, String instanceId, int instanceIndex, VcapApplication.Limits limits, int port, String startedAt, String start, long startedAtTimestamp, long stateTimestamp)
public String getApplicationId()
public String getApplicationName()
public String getName()
public List<String> getApplicationUris()
public List<String> getUris()
public String getApplicationVersion()
public String getVersion()
public String getHost()
public String getInstanceId()
public int getInstanceIndex()
public VcapApplication.Limits getLimits()
Limit instance containing the memory, disk space and number of files permitted to the instancepublic int getPort()
public String getStartedAt()
public String getStart()
public long getStartedAtTimestamp()
public long getStateTimestamp()
Copyright © 2016 SAP. All Rights Reserved.