org.dasein.cloud.google.capabilities
Class GCEInstanceCapabilities

java.lang.Object
  extended by org.dasein.cloud.AbstractCapabilities<Google>
      extended by org.dasein.cloud.google.capabilities.GCEInstanceCapabilities
All Implemented Interfaces:
org.dasein.cloud.Capabilities, org.dasein.cloud.compute.VirtualMachineCapabilities

public class GCEInstanceCapabilities
extends org.dasein.cloud.AbstractCapabilities<Google>
implements org.dasein.cloud.compute.VirtualMachineCapabilities


Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
GCEInstanceCapabilities(Google cloud)
           
 
Method Summary
 boolean canAlter(org.dasein.cloud.compute.VmState fromState)
           
 boolean canClone(org.dasein.cloud.compute.VmState fromState)
           
 boolean canPause(org.dasein.cloud.compute.VmState fromState)
           
 boolean canReboot(org.dasein.cloud.compute.VmState fromState)
           
 boolean canResume(org.dasein.cloud.compute.VmState fromState)
           
 boolean canStart(org.dasein.cloud.compute.VmState fromState)
           
 boolean canStop(org.dasein.cloud.compute.VmState fromState)
           
 boolean canSuspend(org.dasein.cloud.compute.VmState fromState)
           
 boolean canTerminate(org.dasein.cloud.compute.VmState fromState)
           
 boolean canUnpause(org.dasein.cloud.compute.VmState fromState)
           
 int getCostFactor(org.dasein.cloud.compute.VmState state)
           
 int getMaximumVirtualMachineCount()
           
 String getProviderTermForVirtualMachine(Locale locale)
           
 org.dasein.cloud.compute.VMScalingCapabilities getVerticalScalingCapabilities()
           
 org.dasein.cloud.util.NamingConstraints getVirtualMachineNamingConstraints()
           
 org.dasein.cloud.VisibleScope getVirtualMachineProductVisibleScope()
           
 org.dasein.cloud.VisibleScope getVirtualMachineVisibleScope()
           
 org.dasein.cloud.Requirement identifyDataCenterLaunchRequirement()
           
 org.dasein.cloud.Requirement identifyImageRequirement(org.dasein.cloud.compute.ImageClass cls)
           
 org.dasein.cloud.Requirement identifyPasswordRequirement(org.dasein.cloud.compute.Platform platform)
           
 org.dasein.cloud.Requirement identifyRootVolumeRequirement()
           
 org.dasein.cloud.Requirement identifyShellKeyRequirement(org.dasein.cloud.compute.Platform platform)
           
 org.dasein.cloud.Requirement identifyStaticIPRequirement()
           
 org.dasein.cloud.Requirement identifySubnetRequirement()
           
 org.dasein.cloud.Requirement identifyVlanRequirement()
           
 boolean isAPITerminationPreventable()
           
 boolean isBasicAnalyticsSupported()
           
 boolean isExtendedAnalyticsSupported()
           
 boolean isUserDataSupported()
           
 Iterable<org.dasein.cloud.compute.Architecture> listSupportedArchitectures()
           
 boolean supportsAlterVM()
           
 boolean supportsClone()
           
 boolean supportsPause()
           
 boolean supportsReboot()
           
 boolean supportsResume()
           
 boolean supportsSpotVirtualMachines()
           
 boolean supportsStart()
           
 boolean supportsStop()
           
 boolean supportsSuspend()
           
 boolean supportsTerminate()
           
 boolean supportsUnPause()
           
 
Methods inherited from class org.dasein.cloud.AbstractCapabilities
getAccountNumber, getContext, getProvider, getRegionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dasein.cloud.Capabilities
getAccountNumber, getRegionId
 

Constructor Detail

GCEInstanceCapabilities

public GCEInstanceCapabilities(@Nonnull
                               Google cloud)
Method Detail

canAlter

public boolean canAlter(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canAlter in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canClone

public boolean canClone(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canClone in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canPause

public boolean canPause(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canPause in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canReboot

public boolean canReboot(@Nonnull
                         org.dasein.cloud.compute.VmState fromState)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
canReboot in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canResume

public boolean canResume(@Nonnull
                         org.dasein.cloud.compute.VmState fromState)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
canResume in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canStart

public boolean canStart(@Nonnull
                        org.dasein.cloud.compute.VmState fromState)
                 throws org.dasein.cloud.CloudException,
                        org.dasein.cloud.InternalException
Specified by:
canStart in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canStop

public boolean canStop(@Nonnull
                       org.dasein.cloud.compute.VmState fromState)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
canStop in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canSuspend

public boolean canSuspend(@Nonnull
                          org.dasein.cloud.compute.VmState fromState)
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Specified by:
canSuspend in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canTerminate

public boolean canTerminate(@Nonnull
                            org.dasein.cloud.compute.VmState fromState)
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Specified by:
canTerminate in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

canUnpause

public boolean canUnpause(@Nonnull
                          org.dasein.cloud.compute.VmState fromState)
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Specified by:
canUnpause in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getMaximumVirtualMachineCount

public int getMaximumVirtualMachineCount()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Specified by:
getMaximumVirtualMachineCount in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getCostFactor

public int getCostFactor(@Nonnull
                         org.dasein.cloud.compute.VmState state)
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Specified by:
getCostFactor in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getProviderTermForVirtualMachine

@Nonnull
public String getProviderTermForVirtualMachine(@Nonnull
                                                       Locale locale)
                                        throws org.dasein.cloud.CloudException,
                                               org.dasein.cloud.InternalException
Specified by:
getProviderTermForVirtualMachine in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVerticalScalingCapabilities

@Nullable
public org.dasein.cloud.compute.VMScalingCapabilities getVerticalScalingCapabilities()
                                                                              throws org.dasein.cloud.CloudException,
                                                                                     org.dasein.cloud.InternalException
Specified by:
getVerticalScalingCapabilities in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVirtualMachineNamingConstraints

@Nonnull
public org.dasein.cloud.util.NamingConstraints getVirtualMachineNamingConstraints()
                                                                           throws org.dasein.cloud.CloudException,
                                                                                  org.dasein.cloud.InternalException
Specified by:
getVirtualMachineNamingConstraints in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVirtualMachineVisibleScope

@Nullable
public org.dasein.cloud.VisibleScope getVirtualMachineVisibleScope()
Specified by:
getVirtualMachineVisibleScope in interface org.dasein.cloud.compute.VirtualMachineCapabilities

getVirtualMachineProductVisibleScope

@Nullable
public org.dasein.cloud.VisibleScope getVirtualMachineProductVisibleScope()
Specified by:
getVirtualMachineProductVisibleScope in interface org.dasein.cloud.compute.VirtualMachineCapabilities

identifyDataCenterLaunchRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyDataCenterLaunchRequirement()
                                                                 throws org.dasein.cloud.CloudException,
                                                                        org.dasein.cloud.InternalException
Specified by:
identifyDataCenterLaunchRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyImageRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyImageRequirement(@Nonnull
                                                                     org.dasein.cloud.compute.ImageClass cls)
                                                      throws org.dasein.cloud.CloudException,
                                                             org.dasein.cloud.InternalException
Specified by:
identifyImageRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyPasswordRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyPasswordRequirement(org.dasein.cloud.compute.Platform platform)
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyPasswordRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyRootVolumeRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyRootVolumeRequirement()
                                                           throws org.dasein.cloud.CloudException,
                                                                  org.dasein.cloud.InternalException
Specified by:
identifyRootVolumeRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyShellKeyRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyShellKeyRequirement(org.dasein.cloud.compute.Platform platform)
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyShellKeyRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyStaticIPRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyStaticIPRequirement()
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyStaticIPRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifySubnetRequirement

@Nonnull
public org.dasein.cloud.Requirement identifySubnetRequirement()
                                                       throws org.dasein.cloud.CloudException,
                                                              org.dasein.cloud.InternalException
Specified by:
identifySubnetRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyVlanRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyVlanRequirement()
                                                     throws org.dasein.cloud.CloudException,
                                                            org.dasein.cloud.InternalException
Specified by:
identifyVlanRequirement in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isAPITerminationPreventable

public boolean isAPITerminationPreventable()
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Specified by:
isAPITerminationPreventable in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isBasicAnalyticsSupported

public boolean isBasicAnalyticsSupported()
                                  throws org.dasein.cloud.CloudException,
                                         org.dasein.cloud.InternalException
Specified by:
isBasicAnalyticsSupported in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isExtendedAnalyticsSupported

public boolean isExtendedAnalyticsSupported()
                                     throws org.dasein.cloud.CloudException,
                                            org.dasein.cloud.InternalException
Specified by:
isExtendedAnalyticsSupported in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

isUserDataSupported

public boolean isUserDataSupported()
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Specified by:
isUserDataSupported in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSupportedArchitectures

@Nonnull
public Iterable<org.dasein.cloud.compute.Architecture> listSupportedArchitectures()
                                                                           throws org.dasein.cloud.InternalException,
                                                                                  org.dasein.cloud.CloudException
Specified by:
listSupportedArchitectures in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

supportsSpotVirtualMachines

public boolean supportsSpotVirtualMachines()
                                    throws org.dasein.cloud.InternalException,
                                           org.dasein.cloud.CloudException
Specified by:
supportsSpotVirtualMachines in interface org.dasein.cloud.compute.VirtualMachineCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

supportsAlterVM

public boolean supportsAlterVM()
Specified by:
supportsAlterVM in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsClone

public boolean supportsClone()
Specified by:
supportsClone in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsPause

public boolean supportsPause()
Specified by:
supportsPause in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsReboot

public boolean supportsReboot()
Specified by:
supportsReboot in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsResume

public boolean supportsResume()
Specified by:
supportsResume in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsStart

public boolean supportsStart()
Specified by:
supportsStart in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsStop

public boolean supportsStop()
Specified by:
supportsStop in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsSuspend

public boolean supportsSuspend()
Specified by:
supportsSuspend in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsTerminate

public boolean supportsTerminate()
Specified by:
supportsTerminate in interface org.dasein.cloud.compute.VirtualMachineCapabilities

supportsUnPause

public boolean supportsUnPause()
Specified by:
supportsUnPause in interface org.dasein.cloud.compute.VirtualMachineCapabilities


Copyright © 2014 Dell, Inc. All Rights Reserved.