org.jclouds.chef.suppliers
Class ChefVersionSupplier
java.lang.Object
org.jclouds.chef.suppliers.ChefVersionSupplier
- All Implemented Interfaces:
- com.google.common.base.Supplier<Integer>
@Singleton
public class ChefVersionSupplier
- extends Object
- implements com.google.common.base.Supplier<Integer>
Properly supply the version of the Chef Server.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FALLBACK_VERSION
public static final Integer FALLBACK_VERSION
- The default version to assume in case we can not parse it.
get
public Integer get()
- Specified by:
get in interface com.google.common.base.Supplier<Integer>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.