org.jclouds.karaf.chef.commands
Class ChefCommandWithOptions

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.chef.commands.ChefCommandBase
          extended by org.jclouds.karaf.chef.commands.ChefCommandWithOptions
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
Direct Known Subclasses:
ChefCookbookListCommand, ChefServiceCreateCommand

public abstract class ChefCommandWithOptions
extends ChefCommandBase

Author:
Guillaume Nodet (gnodet)

Field Summary
protected  String api
           
protected  String clientKeyFile
           
protected  String clientName
           
protected  String endpoint
           
protected  String name
           
protected  String validatorKeyFile
           
protected  String validatorName
           
 
Fields inherited from class org.jclouds.karaf.chef.commands.ChefCommandBase
cacheProvider, chefServices, configAdmin, FACTORY_FILTER, PROVIDERFORMAT, shellTableFactory
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ChefCommandWithOptions()
           
 
Method Summary
protected  org.jclouds.chef.ChefService getChefService()
           
 List<org.jclouds.chef.ChefService> getChefServices()
           
 
Methods inherited from class org.jclouds.karaf.chef.commands.ChefCommandBase
execute, findOrCreateFactoryConfiguration, getCacheProvider, getConfigAdmin, getShellTableFactory, printChefApis, printCookbooks, setCacheProvider, setChefServices, setConfigAdmin, setShellTableFactory
 
Methods inherited from class org.apache.karaf.shell.console.AbstractAction
doExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

api

protected String api

clientName

protected String clientName

clientKeyFile

protected String clientKeyFile

validatorName

protected String validatorName

validatorKeyFile

protected String validatorKeyFile

endpoint

protected String endpoint
Constructor Detail

ChefCommandWithOptions

public ChefCommandWithOptions()
Method Detail

getChefServices

public List<org.jclouds.chef.ChefService> getChefServices()
Overrides:
getChefServices in class ChefCommandBase

getChefService

protected org.jclouds.chef.ChefService getChefService()


Copyright © 2013. All Rights Reserved.