org.jclouds.chef.strategy.internal
Class ListEnvironmentsImpl

java.lang.Object
  extended by org.jclouds.chef.strategy.internal.ListEnvironmentsImpl
All Implemented Interfaces:
ListEnvironments

@Singleton
public class ListEnvironmentsImpl
extends Object
implements ListEnvironments


Field Summary
protected  ChefApi api
           
protected  org.jclouds.logging.Logger logger
           
protected  com.google.common.util.concurrent.ListeningExecutorService userExecutor
           
 
Method Summary
 Iterable<? extends Environment> execute()
           
 Iterable<? extends Environment> execute(ExecutorService executor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

api

protected final ChefApi api

userExecutor

protected final com.google.common.util.concurrent.ListeningExecutorService userExecutor

logger

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

execute

public Iterable<? extends Environment> execute()
Specified by:
execute in interface ListEnvironments

execute

public Iterable<? extends Environment> execute(ExecutorService executor)
Specified by:
execute in interface ListEnvironments


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