Class NovaSecurityGroupToSecurityGroup
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.compute.functions.NovaSecurityGroupToSecurityGroup
-
- All Implemented Interfaces:
com.google.common.base.Function<SecurityGroup,SecurityGroup>
,Function<SecurityGroup,SecurityGroup>
public class NovaSecurityGroupToSecurityGroup extends Object implements com.google.common.base.Function<SecurityGroup,SecurityGroup>
A function for transforming a Nova-specific SecurityGroup into a generic SecurityGroup object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NovaSecurityGroupToSecurityGroup.Factory
-
Constructor Summary
Constructors Constructor Description NovaSecurityGroupToSecurityGroup(Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroup
apply(SecurityGroup group)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Constructor Detail
-
NovaSecurityGroupToSecurityGroup
@Inject public NovaSecurityGroupToSecurityGroup(Location location)
-
-
Method Detail
-
apply
public SecurityGroup apply(@Nullable SecurityGroup group)
- Specified by:
apply
in interfacecom.google.common.base.Function<SecurityGroup,SecurityGroup>
- Specified by:
apply
in interfaceFunction<SecurityGroup,SecurityGroup>
-
-