org.dasein.cloud.aws.network
Class SecurityGroupCapabilities
java.lang.Object
org.dasein.cloud.AbstractCapabilities<AWSCloud>
org.dasein.cloud.aws.network.SecurityGroupCapabilities
- All Implemented Interfaces:
- org.dasein.cloud.Capabilities, org.dasein.cloud.network.FirewallCapabilities
public class SecurityGroupCapabilities
- extends org.dasein.cloud.AbstractCapabilities<AWSCloud>
- implements org.dasein.cloud.network.FirewallCapabilities
Describes the capabilities of AWS with respect to Dasein firewall operations.
Created by Stas Maksimov: 3/03/14 10:00 PM
- Since:
- 2014.03
- Version:
- 2014.03 initial version
- Author:
- Stas Maksimov
| Fields inherited from interface org.dasein.cloud.Capabilities |
LIMIT_UNKNOWN, LIMIT_UNLIMITED |
| 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 |
SecurityGroupCapabilities
public SecurityGroupCapabilities(@Nonnull
AWSCloud cloud)
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
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 © 2009-2014 Dell, Inc.. All Rights Reserved.