org.jclouds.openstack.nova.v2_0.compute.predicates
Class GetImageWhenImageInZoneHasActiveStatusPredicateWithResult
java.lang.Object
org.jclouds.openstack.nova.v2_0.compute.predicates.GetImageWhenImageInZoneHasActiveStatusPredicateWithResult
- All Implemented Interfaces:
- com.google.common.base.Predicate<ZoneAndId>, PredicateWithResult<ZoneAndId,Image>
public final class GetImageWhenImageInZoneHasActiveStatusPredicateWithResult
- extends Object
- implements PredicateWithResult<ZoneAndId,Image>
- Author:
- David Alves
| 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
@Named(value="jclouds.compute")
protected Logger logger
GetImageWhenImageInZoneHasActiveStatusPredicateWithResult
@Inject
public GetImageWhenImageInZoneHasActiveStatusPredicateWithResult(com.google.common.base.Function<ImageInZone,Image> imageInZoneToImage,
NovaApi api)
apply
public boolean apply(ZoneAndId input)
- Specified by:
apply in interface com.google.common.base.Predicate<ZoneAndId>
getResult
public Image getResult()
- Specified by:
getResult in interface PredicateWithResult<ZoneAndId,Image>
getLastFailure
public Throwable getLastFailure()
- Specified by:
getLastFailure in interface PredicateWithResult<ZoneAndId,Image>
findImage
public Image findImage(ZoneAndId zoneAndId)
Copyright © 2009-2012 jclouds. All Rights Reserved.