org.jclouds.googlecomputeengine.predicates
Class GlobalOperationDonePredicate
java.lang.Object
org.jclouds.googlecomputeengine.predicates.GlobalOperationDonePredicate
- All Implemented Interfaces:
- com.google.common.base.Predicate<AtomicReference<Operation>>
public class GlobalOperationDonePredicate
- extends Object
- implements com.google.common.base.Predicate<AtomicReference<Operation>>
Tests that a Global Operation is done, returning the completed Operation when it is.
- 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 |
GlobalOperationDonePredicate
@Inject
public GlobalOperationDonePredicate(GoogleComputeEngineApi api,
com.google.common.base.Supplier<String> project)
apply
public boolean apply(AtomicReference<Operation> input)
- Specified by:
apply in interface com.google.common.base.Predicate<AtomicReference<Operation>>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.