org.jclouds.openstack.nova.v2_0.predicates
Class FindSecurityGroupWithNameAndReturnTrue
java.lang.Object
org.jclouds.openstack.nova.v2_0.predicates.FindSecurityGroupWithNameAndReturnTrue
- All Implemented Interfaces:
- com.google.common.base.Predicate<AtomicReference<ZoneAndName>>
@Singleton
public class FindSecurityGroupWithNameAndReturnTrue
- extends Object
- implements com.google.common.base.Predicate<AtomicReference<ZoneAndName>>
AtomicReference is so that we can return the securityGroup that matched.
|
Field Summary |
protected org.jclouds.logging.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
equals |
logger
protected org.jclouds.logging.Logger logger
FindSecurityGroupWithNameAndReturnTrue
@Inject
public FindSecurityGroupWithNameAndReturnTrue(NovaApi novaApi)
apply
public boolean apply(AtomicReference<ZoneAndName> securityGroupInZoneRef)
- Specified by:
apply in interface com.google.common.base.Predicate<AtomicReference<ZoneAndName>>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.