org.apache.sling.settings.impl
Class RunModeCommand

java.lang.Object
  extended by org.apache.sling.settings.impl.RunModeCommand
All Implemented Interfaces:
org.apache.felix.shell.Command

public class RunModeCommand
extends Object
implements org.apache.felix.shell.Command

Run mode command for the shell.


Constructor Summary
RunModeCommand(Set<String> modes)
           
 
Method Summary
static void destroyPlugin()
           
 void execute(String command, PrintStream out, PrintStream err)
           
 String getName()
           
 String getShortDescription()
           
 String getUsage()
           
static void initPlugin(org.osgi.framework.BundleContext bundleContext, Set<String> modes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunModeCommand

public RunModeCommand(Set<String> modes)
Method Detail

initPlugin

public static void initPlugin(org.osgi.framework.BundleContext bundleContext,
                              Set<String> modes)

destroyPlugin

public static void destroyPlugin()

getName

public String getName()
Specified by:
getName in interface org.apache.felix.shell.Command
See Also:
Command.getName()

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface org.apache.felix.shell.Command
See Also:
Command.getShortDescription()

getUsage

public String getUsage()
Specified by:
getUsage in interface org.apache.felix.shell.Command
See Also:
Command.getUsage()

execute

public void execute(String command,
                    PrintStream out,
                    PrintStream err)
Specified by:
execute in interface org.apache.felix.shell.Command
See Also:
Command.execute(java.lang.String, java.io.PrintStream, java.io.PrintStream)


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.