org.jclouds.ec2.compute.predicates
Class GetImageWhenStatusAvailablePredicateWithResult

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

Field Summary
protected  Logger logger
           
 
Constructor Summary
GetImageWhenStatusAvailablePredicateWithResult(EC2Client ec2Client, EC2ImageParser ec2ImageToImage)
           
 
Method Summary
 boolean apply(String 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

GetImageWhenStatusAvailablePredicateWithResult

@Inject
public GetImageWhenStatusAvailablePredicateWithResult(EC2Client ec2Client,
                                                             EC2ImageParser ec2ImageToImage)
Method Detail

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.