org.jclouds.chef.suppliers
Class ChefVersionSupplier

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


Field Summary
static Integer FALLBACK_VERSION
          The default version to assume in case we can not parse it.
 
Method Summary
 Integer get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FALLBACK_VERSION

public static final Integer FALLBACK_VERSION
The default version to assume in case we can not parse it.

Method Detail

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.