org.dasein.cloud.google.capabilities
Class GCEFirewallCapabilities

java.lang.Object
  extended by org.dasein.cloud.AbstractCapabilities<Google>
      extended by org.dasein.cloud.google.capabilities.GCEFirewallCapabilities
All Implemented Interfaces:
org.dasein.cloud.Capabilities, org.dasein.cloud.network.FirewallCapabilities

public class GCEFirewallCapabilities
extends org.dasein.cloud.AbstractCapabilities<Google>
implements org.dasein.cloud.network.FirewallCapabilities


Field Summary
 
Fields inherited from interface org.dasein.cloud.Capabilities
LIMIT_UNKNOWN, LIMIT_UNLIMITED
 
Constructor Summary
GCEFirewallCapabilities(Google cloud)
           
 
Method Summary
 org.dasein.cloud.network.FirewallConstraints getFirewallConstraintsForCloud()
           
 org.dasein.cloud.VisibleScope getFirewallVisibleScope()
           
 String getProviderTermForFirewall(Locale locale)
           
 org.dasein.cloud.Requirement identifyPrecedenceRequirement(boolean inVlan)
           
 boolean isZeroPrecedenceHighest()
           
 Iterable<org.dasein.cloud.network.RuleTargetType> listSupportedDestinationTypes(boolean inVlan)
           
 Iterable<org.dasein.cloud.network.Direction> listSupportedDirections(boolean inVlan)
           
 Iterable<org.dasein.cloud.network.Permission> listSupportedPermissions(boolean inVlan)
           
 Iterable<org.dasein.cloud.network.RuleTargetType> listSupportedSourceTypes(boolean inVlan)
           
 boolean requiresRulesOnCreation()
           
 org.dasein.cloud.Requirement requiresVLAN()
           
 boolean supportsFirewallCreation(boolean inVlan)
           
 boolean supportsFirewallDeletion()
           
 boolean supportsRules(org.dasein.cloud.network.Direction direction, org.dasein.cloud.network.Permission permission, boolean inVlan)
           
 
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

GCEFirewallCapabilities

public GCEFirewallCapabilities(@Nonnull
                               Google cloud)
Method Detail

getFirewallConstraintsForCloud

@Nonnull
public org.dasein.cloud.network.FirewallConstraints getFirewallConstraintsForCloud()
                                                                            throws org.dasein.cloud.InternalException,
                                                                                   org.dasein.cloud.CloudException
Specified by:
getFirewallConstraintsForCloud in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getProviderTermForFirewall

@Nonnull
public String getProviderTermForFirewall(@Nonnull
                                                 Locale locale)
Specified by:
getProviderTermForFirewall in interface org.dasein.cloud.network.FirewallCapabilities

getFirewallVisibleScope

@Nullable
public org.dasein.cloud.VisibleScope getFirewallVisibleScope()
Specified by:
getFirewallVisibleScope in interface org.dasein.cloud.network.FirewallCapabilities

identifyPrecedenceRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyPrecedenceRequirement(boolean inVlan)
                                                           throws org.dasein.cloud.InternalException,
                                                                  org.dasein.cloud.CloudException
Specified by:
identifyPrecedenceRequirement in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

isZeroPrecedenceHighest

public boolean isZeroPrecedenceHighest()
                                throws org.dasein.cloud.InternalException,
                                       org.dasein.cloud.CloudException
Specified by:
isZeroPrecedenceHighest in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listSupportedDestinationTypes

@Nonnull
public Iterable<org.dasein.cloud.network.RuleTargetType> listSupportedDestinationTypes(boolean inVlan)
                                                                                throws org.dasein.cloud.InternalException,
                                                                                       org.dasein.cloud.CloudException
Specified by:
listSupportedDestinationTypes in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listSupportedDirections

@Nonnull
public Iterable<org.dasein.cloud.network.Direction> listSupportedDirections(boolean inVlan)
                                                                     throws org.dasein.cloud.InternalException,
                                                                            org.dasein.cloud.CloudException
Specified by:
listSupportedDirections in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listSupportedPermissions

@Nonnull
public Iterable<org.dasein.cloud.network.Permission> listSupportedPermissions(boolean inVlan)
                                                                       throws org.dasein.cloud.InternalException,
                                                                              org.dasein.cloud.CloudException
Specified by:
listSupportedPermissions in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listSupportedSourceTypes

@Nonnull
public Iterable<org.dasein.cloud.network.RuleTargetType> listSupportedSourceTypes(boolean inVlan)
                                                                           throws org.dasein.cloud.InternalException,
                                                                                  org.dasein.cloud.CloudException
Specified by:
listSupportedSourceTypes in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

requiresRulesOnCreation

public boolean requiresRulesOnCreation()
                                throws org.dasein.cloud.CloudException,
                                       org.dasein.cloud.InternalException
Specified by:
requiresRulesOnCreation in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

requiresVLAN

public org.dasein.cloud.Requirement requiresVLAN()
                                          throws org.dasein.cloud.CloudException,
                                                 org.dasein.cloud.InternalException
Specified by:
requiresVLAN in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsRules

public boolean supportsRules(@Nonnull
                             org.dasein.cloud.network.Direction direction,
                             @Nonnull
                             org.dasein.cloud.network.Permission permission,
                             boolean inVlan)
                      throws org.dasein.cloud.CloudException,
                             org.dasein.cloud.InternalException
Specified by:
supportsRules in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsFirewallCreation

public boolean supportsFirewallCreation(boolean inVlan)
                                 throws org.dasein.cloud.CloudException,
                                        org.dasein.cloud.InternalException
Specified by:
supportsFirewallCreation in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

supportsFirewallDeletion

public boolean supportsFirewallDeletion()
                                 throws org.dasein.cloud.CloudException,
                                        org.dasein.cloud.InternalException
Specified by:
supportsFirewallDeletion in interface org.dasein.cloud.network.FirewallCapabilities
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2014 Dell, Inc. All Rights Reserved.