org.jclouds.cloudservers.compute.predicates
Class GetImageWhenStatusActivePredicateWithResult
java.lang.Object
org.jclouds.cloudservers.compute.predicates.GetImageWhenStatusActivePredicateWithResult
- All Implemented Interfaces:
- com.google.common.base.Predicate<Integer>, PredicateWithResult<Integer,Image>
public final class GetImageWhenStatusActivePredicateWithResult
- extends Object
- implements PredicateWithResult<Integer,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
GetImageWhenStatusActivePredicateWithResult
@Inject
public GetImageWhenStatusActivePredicateWithResult(CloudServersClient client,
com.google.common.base.Function<Image,Image> cloudserversImageToImage)
apply
public boolean apply(Integer input)
- Specified by:
apply in interface com.google.common.base.Predicate<Integer>
getResult
public Image getResult()
- Specified by:
getResult in interface PredicateWithResult<Integer,Image>
getLastFailure
public Throwable getLastFailure()
- Specified by:
getLastFailure in interface PredicateWithResult<Integer,Image>
Copyright © 2009-2012 jclouds. All Rights Reserved.