> +/** > + * The {@link ImageExtension} implementation for the DigitalOcean provider. > + * > + * @author Sergi Castro > + * @author Ignasi Barrera > + */ > +@Singleton > +public class DigitalOceanImageExtension implements ImageExtension { > + > + @Resource > + @Named(ComputeServiceConstants.COMPUTE_LOGGER) > + protected Logger logger = Logger.NULL; > + > + private final DigitalOceanApi api; > + private final Predicate<Integer> imageAvailablePredicate; > + private final Predicate<Integer> nodeStoppedPredicate;
Predicates on integers? Any reason now to use an enum here..? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/49/files#r9151580