Tabnine Logo
SnapshotsExtension$List
Code IndexAdd Tabnine to your IDE (free)

How to use
SnapshotsExtension$List
in
com.woorea.openstack.nova.api.extensions

Best Java code snippets using com.woorea.openstack.nova.api.extensions.SnapshotsExtension$List (Showing top 7 results out of 315)

origin: com.att.cdp/cdp-pal-openstack

com.woorea.openstack.nova.model.Snapshots snapshots = nova.getClient().snapshots().list(true).execute();
for (com.woorea.openstack.nova.model.Snapshot snap : snapshots) {
  if (name != null) {
origin: com.att.cdp/cdp-pal-openstack

com.woorea.openstack.nova.model.Snapshots snapshots = nova.getClient().snapshots().list(true).execute();
for (com.woorea.openstack.nova.model.Snapshot snap : snapshots) {
  if (name != null) {
origin: com.att.cdp/cdp-pal-openstack

/**
 * @see com.att.cdp.zones.VolumeService#getSnapshotsByVolume(java.lang.String)
 */
@Override
public List<Snapshot> getSnapshotsByVolume(String id) throws ZoneException {
  connect();
  Context context = getContext();
  trackRequest();
  RequestState.put(RequestState.VOLUME, id);
  RequestState.put(RequestState.SERVICE, "Compute");
  RequestState.put(RequestState.SERVICE_URL, nova.getEndpoint());
  ArrayList<Snapshot> list = new ArrayList<>();
  try {
    com.woorea.openstack.nova.model.Snapshots snapshots = nova.getClient().snapshots().list(true).execute();
    for (com.woorea.openstack.nova.model.Snapshot snap : snapshots) {
      if (id != null) {
        if (snap.getVolumeId() != null && snap.getVolumeId().matches(id)) {
          list.add(new OpenStackSnapshot(context, snap));
        }
      }
    }
  } catch (OpenStackBaseException ex) {
    ExceptionMapper.mapException(ex);
  }
  return list;
}
origin: com.att.cdp/cdp-pal-openstack

/**
 * Retrieves the list of snapshots defined for this service.
 * 
 * @return The list of snapshots for this tenant, if any. The list may be empty if there are no snapshots defined.
 * @see com.att.cdp.zones.SnapshotService#getSnapshots()
 */
@Override
public List<Snapshot> getSnapshots() throws ZoneException {
  connect();
  Context context = getContext();
  trackRequest();
  RequestState.put(RequestState.SERVICE, "Compute");
  RequestState.put(RequestState.SERVICE_URL, nova.getEndpoint());
  ArrayList<Snapshot> list = new ArrayList<>();
  try {
    com.woorea.openstack.nova.model.Snapshots snapshots = nova.getClient().snapshots().list(true).execute();
    for (com.woorea.openstack.nova.model.Snapshot snap : snapshots) {
      list.add(new OpenStackSnapshot(context, snap));
    }
  } catch (OpenStackBaseException ex) {
    ExceptionMapper.mapException(ex);
  }
  return list;
}
origin: com.att.cdp/cdp-pal-openstack

/**
 * Retrieves the list of snapshots defined for this service.
 * 
 * @return The list of snapshots for this tenant, if any. The list may be empty if there are no snapshots defined.
 * @see com.att.cdp.zones.VolumeService#getSnapshots()
 */
@Override
public List<Snapshot> getSnapshots() throws ZoneException {
  connect();
  Context context = getContext();
  trackRequest();
  RequestState.put(RequestState.SERVICE, "Compute");
  RequestState.put(RequestState.SERVICE_URL, nova.getEndpoint());
  ArrayList<Snapshot> list = new ArrayList<>();
  try {
    com.woorea.openstack.nova.model.Snapshots snapshots = nova.getClient().snapshots().list(true).execute();
    for (com.woorea.openstack.nova.model.Snapshot snap : snapshots) {
      list.add(new OpenStackSnapshot(context, snap));
    }
  } catch (OpenStackBaseException ex) {
    ExceptionMapper.mapException(ex);
  }
  return list;
}
origin: woorea/openstack-java-sdk

public List list(boolean detail) {
  return new List(detail);
}

origin: com.att.woorea/nova-client

public List list(boolean detail) {
  return new List(detail);
}
com.woorea.openstack.nova.api.extensionsSnapshotsExtension$List

Most used methods

  • <init>
  • execute

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • findViewById (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Path (java.nio.file)
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now