| Package | Description |
|---|---|
| com.cloudbees.api.cr | |
| com.cloudbees.api.oauth |
| Modifier and Type | Field and Description |
|---|---|
protected CloudResource |
CloudResourceFacet.owner |
| Modifier and Type | Method and Description |
|---|---|
CloudResource |
BindingCollection.bind(CloudResource sink,
String label,
Map<String,String> settings)
Bind the
BindableSource (that this collection serves) to the specified sink. |
CloudResource |
CloudResource.create(String path,
Object request)
Makes a POST request with the specified request payload, then expect 201 status that reports the location
of the newly created resource.
|
static CloudResource |
CloudResource.fromOAuthToken(URL url,
OauthToken token) |
static CloudResource |
CloudResource.fromOAuthToken(URL url,
String oauthAccessToken)
A cloud resource is identified by its URL, and to talk to it we need an OAuth access token
|
CloudResource |
CloudResourceFacet.getOwner()
Returns the
CloudResource that this facet is representing. |
CloudResource |
ReferencedResource.toCloudResource(CloudResource context) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<CloudResource> |
CloudResourceProvider.iterator()
Lists up all the cloud resources.
|
| Modifier and Type | Method and Description |
|---|---|
CloudResource |
BindingCollection.bind(CloudResource sink,
String label,
Map<String,String> settings)
Bind the
BindableSource (that this collection serves) to the specified sink. |
static ReferencedResource |
ReferencedResource.of(CloudResource cr) |
String |
Capability.to(CloudResource cr) |
CloudResource |
ReferencedResource.toCloudResource(CloudResource context) |
| Constructor and Description |
|---|
BindableSource(CloudResource owner) |
BindingCollection(CloudResource owner) |
CloudResourceFacet(CloudResource owner)
CloudResourceFacet subtypes must have this constructor,
which gets invoked via reflection from as(Class) |
CloudResourceProvider(CloudResource owner) |
CloudResourceProviderRegistry(CloudResource owner) |
| Modifier and Type | Method and Description |
|---|---|
TokenRequest |
TokenRequest.withScope(CloudResource res,
Capability capability) |
Copyright © 2011-2015. All Rights Reserved.