org.jclouds.ec2.compute.predicates
Class GetImageWhenStatusAvailablePredicateWithResult
java.lang.Object
org.jclouds.ec2.compute.predicates.GetImageWhenStatusAvailablePredicateWithResult
- All Implemented Interfaces:
- com.google.common.base.Predicate<String>, PredicateWithResult<String,Image>
public final class GetImageWhenStatusAvailablePredicateWithResult
- extends Object
- implements PredicateWithResult<String,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
GetImageWhenStatusAvailablePredicateWithResult
@Inject
public GetImageWhenStatusAvailablePredicateWithResult(EC2Client ec2Client,
EC2ImageParser ec2ImageToImage)
apply
public boolean apply(String input)
- Specified by:
apply in interface com.google.common.base.Predicate<String>
getResult
public Image getResult()
- Specified by:
getResult in interface PredicateWithResult<String,Image>
getLastFailure
public Throwable getLastFailure()
- Specified by:
getLastFailure in interface PredicateWithResult<String,Image>
Copyright © 2009-2012 jclouds. All Rights Reserved.