public final class GetImageWhenImageInZoneHasActiveStatusPredicateWithResult extends Object implements PredicateWithResult<ZoneAndId,Image>
Constructor and Description |
---|
GetImageWhenImageInZoneHasActiveStatusPredicateWithResult(com.google.common.base.Function<ImageInZone,Image> imageInZoneToImage,
NovaApi api) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ZoneAndId input) |
Image |
findImage(ZoneAndId zoneAndId) |
Throwable |
getLastFailure() |
Image |
getResult() |
@Named(value="jclouds.compute") protected Logger logger
@Inject public GetImageWhenImageInZoneHasActiveStatusPredicateWithResult(com.google.common.base.Function<ImageInZone,Image> imageInZoneToImage, NovaApi api)
public boolean apply(ZoneAndId input)
apply
in interface com.google.common.base.Predicate<ZoneAndId>
public Image getResult()
getResult
in interface PredicateWithResult<ZoneAndId,Image>
public Throwable getLastFailure()
getLastFailure
in interface PredicateWithResult<ZoneAndId,Image>
Copyright © 2009-2013 jclouds. All Rights Reserved.