org.jclouds.chef.strategy.internal
Class CreateNodeAndPopulateAutomaticAttributesImpl

java.lang.Object
  extended by org.jclouds.chef.strategy.internal.CreateNodeAndPopulateAutomaticAttributesImpl
All Implemented Interfaces:
CreateNodeAndPopulateAutomaticAttributes

@Singleton
public class CreateNodeAndPopulateAutomaticAttributesImpl
extends Object
implements CreateNodeAndPopulateAutomaticAttributes

Updates node with new automatic attributes.


Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
CreateNodeAndPopulateAutomaticAttributesImpl(ChefApi chef, com.google.common.base.Supplier<Map<String,org.jclouds.domain.JsonBall>> automaticSupplier)
           
 
Method Summary
 Node execute(Node node)
           
 Node execute(String nodeName, Iterable<String> runList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.chef")
protected org.jclouds.logging.Logger logger
Constructor Detail

CreateNodeAndPopulateAutomaticAttributesImpl

@Inject
public CreateNodeAndPopulateAutomaticAttributesImpl(ChefApi chef,
                                                           com.google.common.base.Supplier<Map<String,org.jclouds.domain.JsonBall>> automaticSupplier)
Method Detail

execute

public Node execute(Node node)
Specified by:
execute in interface CreateNodeAndPopulateAutomaticAttributes

execute

public Node execute(String nodeName,
                    Iterable<String> runList)
Specified by:
execute in interface CreateNodeAndPopulateAutomaticAttributes


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