org.overlord.sramp.shell.api
Interface ShellCommandProvider


public interface ShellCommandProvider

Provides comands - used by the shell command factory when creating the map of available shell commands.

Author:
eric.wittmann@redhat.com

Method Summary
 String getNamespace()
          Returns the namespace provided by this command provider.
 Map<String,Class<? extends ShellCommand>> provideCommands()
          Called to get the collection of commands contributed by the provider.
 

Method Detail

getNamespace

String getNamespace()
Returns the namespace provided by this command provider. All commands provided by this provider will be qualified by this namespace.


provideCommands

Map<String,Class<? extends ShellCommand>> provideCommands()
Called to get the collection of commands contributed by the provider.



Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.