org.jclouds.deltacloud.predicates
Class InstanceState
java.lang.Object
org.jclouds.deltacloud.predicates.InstanceState
- All Implemented Interfaces:
- com.google.common.base.Predicate<Instance>
- Direct Known Subclasses:
- InstanceFinished, InstanceRunning
@Singleton
public abstract class InstanceState
- extends Object
- implements com.google.common.base.Predicate<Instance>
Tests to see if a instance is at a specific state
- Author:
- Adrian Cole
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
protected Logger logger
InstanceState
@Inject
public InstanceState(DeltacloudClient client)
apply
public boolean apply(Instance instance)
- Specified by:
apply
in interface com.google.common.base.Predicate<Instance>
getState
protected abstract Instance.State getState()
Copyright © 2009-2011 jclouds. All Rights Reserved.