org.jclouds.cloudservers.compute.predicates
Class GetImageWhenStatusActivePredicateWithResult

java.lang.Object
  extended by 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

Field Summary
protected  Logger logger
           
 
Constructor Summary
GetImageWhenStatusActivePredicateWithResult(CloudServersClient client, com.google.common.base.Function<Image,Image> cloudserversImageToImage)
           
 
Method Summary
 boolean apply(Integer input)
           
 Throwable getLastFailure()
           
 Image getResult()
           
 
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
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

GetImageWhenStatusActivePredicateWithResult

@Inject
public GetImageWhenStatusActivePredicateWithResult(CloudServersClient client,
                                                          com.google.common.base.Function<Image,Image> cloudserversImageToImage)
Method Detail

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.