|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.location.basic.AbstractLocation
brooklyn.extras.cloudfoundry.CloudFoundryLocation
class CloudFoundryLocation extends AbstractLocation
defines a cloudfoundry location
this can be specified as 'cloudfoundry:api.cloudfoundry.com', or as 'cloudfoundry:https://api.aws.af.cm/' (required by `vmc` if target requires https) or just 'cloudfoundry' (to use the default `vmc target`, in ~/.vmc_target)
username+password are not currently specifiable; we assume a token has been set up via `vmc login` (stored in ~/.vmc_token)
| Nested Class Summary | |
|---|---|
static class |
CloudFoundryLocation.Resolver
|
| Field Summary | |
|---|---|
static Logger |
log
|
| Fields inherited from class AbstractLocation | |
|---|---|
| LOG, hostGeoInfo, leftoverProperties, name |
| Property Summary | |
|---|---|
static WithMutexes |
mutexSupport
|
| Constructor Summary | |
CloudFoundryLocation(java.util.Map properties = [:])
|
|
| Method Summary | |
|---|---|
void
|
acquireMutex(java.lang.String mutexId, java.lang.String description)
|
java.net.InetAddress
|
getAddress()
|
java.lang.String
|
getHostname()
|
java.lang.String
|
getTarget()
|
boolean
|
hasMutex(java.lang.String mutexId)
|
ConfigurableEntityFactory
|
newWebClusterFactory()
|
void
|
releaseMutex(java.lang.String mutexId)
|
boolean
|
tryAcquireMutex(java.lang.String mutexId, java.lang.String description)
|
| Methods inherited from class AbstractLocation | |
|---|---|
| addChildLocation, configure, configure, containsLocation, equals, findLocationProperty, getChildLocations, getHostGeoInfo, getId, getLocationProperty, getName, getParentLocation, hasLocationProperty, hashCode, removeChildLocation, setHostGeoInfo, setParentLocation, string, toString |
| Field Detail |
|---|
public static final Logger log
| Property Detail |
|---|
static WithMutexes mutexSupport
| Constructor Detail |
|---|
CloudFoundryLocation(java.util.Map properties = [:])
| Method Detail |
|---|
@Override void acquireMutex(java.lang.String mutexId, java.lang.String description)
@Override java.net.InetAddress getAddress()
java.lang.String getHostname()
java.lang.String getTarget()
@Override boolean hasMutex(java.lang.String mutexId)
@Override ConfigurableEntityFactory newWebClusterFactory()
@Override void releaseMutex(java.lang.String mutexId)
@Override boolean tryAcquireMutex(java.lang.String mutexId, java.lang.String description)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.