public abstract class CloudExplorerSupport extends Object implements Callable<Void>
For fuller functionality, consider instead the jclouds CLI or Ruby Fog CLI.
The advantage of this utility is that it piggie-backs off the brooklyn.property credentials,
so requires less additional credential configuration. It also gives brooklyn-specific information,
such as which image will be used by default in a given cloud.
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudExplorerSupport.Blobstore |
static class |
CloudExplorerSupport.BlobstoreListContainer |
static class |
CloudExplorerSupport.BlobstoreListContainers |
static class |
CloudExplorerSupport.ComputeDefaultTemplate |
static class |
CloudExplorerSupport.ComputeExploration |
static class |
CloudExplorerSupport.GetBlob |
static class |
CloudExplorerSupport.GetImage |
static class |
CloudExplorerSupport.ListHardwareProfiles |
static class |
CloudExplorerSupport.ListImages |
static class |
CloudExplorerSupport.ListInstances |
static class |
CloudExplorerSupport.TerminateInstances |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_LOCATIONS_DESC |
boolean |
allLocations |
boolean |
autoconfirm |
static String |
AUTOCONFIRM_DESC |
String |
location |
static String |
LOCATION_DESC |
protected PrintStream |
stderr |
protected InputStream |
stdin |
protected PrintStream |
stdout |
| Constructor and Description |
|---|
CloudExplorerSupport(org.apache.brooklyn.api.mgmt.ManagementContext managementContext,
boolean allLocations,
String location,
boolean autoconfirm) |
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
protected boolean |
confirm(String msg,
String indent) |
protected abstract void |
doCall(JcloudsLocation loc,
String indent) |
protected boolean |
equalTargets(JcloudsLocation loc1,
JcloudsLocation loc2) |
public static final String ALL_LOCATIONS_DESC
public boolean allLocations
public static final String LOCATION_DESC
public String location
public static final String AUTOCONFIRM_DESC
public boolean autoconfirm
protected PrintStream stdout
protected PrintStream stderr
protected InputStream stdin
public CloudExplorerSupport(org.apache.brooklyn.api.mgmt.ManagementContext managementContext,
boolean allLocations,
String location,
boolean autoconfirm)
protected abstract void doCall(JcloudsLocation loc, String indent) throws Exception
Exceptionprotected boolean equalTargets(JcloudsLocation loc1, JcloudsLocation loc2)
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.