Package com.woorea.openstack.nova.api

Examples of com.woorea.openstack.nova.api.FlavorsResource$List


public class ListTest
{
   public static void main( String args[] )
   {
      List list = new List(); // create the List container

      // insert integers in list
      list.insertAtFront( -1 );
      list.print();
      list.insertAtFront( 0 );
      list.print();
      list.insertAtBack( 1 );
      list.print();
      list.insertAtBack( 5 );
      list.print();

      // remove objects from list; print after each removal
      try
      {
         Object removedObject = list.removeFromFront();
         System.out.printf( "%s removed\n", removedObject );
         list.print();

         removedObject = list.removeFromFront();
         System.out.printf( "%s removed\n", removedObject );
         list.print();

         removedObject = list.removeFromBack();
         System.out.printf( "%s removed\n", removedObject );
         list.print();

         removedObject = list.removeFromBack();
         System.out.printf( "%s removed\n", removedObject );
         list.print();
      } // end try
      catch ( EmptyListException emptyListException )
      {
         emptyListException.printStackTrace();
      } // end catch
View Full Code Here


  public Nova(String endpoint, OpenStackClientConnector connector) {
    super(endpoint, connector);
    EXTENSIONS = new ExtensionsResource(this);
    SERVERS = new ServersResource(this);
    IMAGES = new ImagesResource(this);
    FLAVORS = new FlavorsResource(this);
    KEY_PAIRS = new KeyPairsExtension(this);
    FLOATING_IPS = new FloatingIpsExtension(this);
    SECURITY_GROUPS = new SecurityGroupsExtension(this);
    SNAPSHOTS = new SnapshotsExtension(this);
    VOLUMES = new VolumesExtension(this);
View Full Code Here

TOP

Related Classes of com.woorea.openstack.nova.api.FlavorsResource$List

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.