org.jclouds.chef.util
Class ChefUtils

java.lang.Object
  extended by org.jclouds.chef.util.ChefUtils

public class ChefUtils
extends Object


Constructor Summary
ChefUtils()
           
 
Method Summary
static String findRoleInRunList(List<String> runList)
           
static Date fromOhaiTime(org.jclouds.domain.JsonBall ohaiDate)
           
static com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<org.jclouds.domain.JsonBall>> ohaiAutomaticAttributeBinder(com.google.inject.Binder binder)
           
static org.jclouds.domain.JsonBall toOhaiTime(long millis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChefUtils

public ChefUtils()
Method Detail

fromOhaiTime

public static Date fromOhaiTime(org.jclouds.domain.JsonBall ohaiDate)

toOhaiTime

public static org.jclouds.domain.JsonBall toOhaiTime(long millis)

ohaiAutomaticAttributeBinder

public static com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<org.jclouds.domain.JsonBall>> ohaiAutomaticAttributeBinder(com.google.inject.Binder binder)

findRoleInRunList

public static String findRoleInRunList(List<String> runList)
Returns:
NoSuchElementException if no element in the runList is a role.


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.