org.apache.sling.settings.impl
Class RunModeCommand
java.lang.Object
org.apache.sling.settings.impl.RunModeCommand
- All Implemented Interfaces:
- org.apache.felix.shell.Command
public class RunModeCommand
- extends java.lang.Object
- implements org.apache.felix.shell.Command
Run mode command for the shell.
|
Constructor Summary |
RunModeCommand(java.util.Set<java.lang.String> modes)
|
|
Method Summary |
static void |
destroyPlugin()
|
void |
execute(java.lang.String command,
java.io.PrintStream out,
java.io.PrintStream err)
|
java.lang.String |
getName()
|
java.lang.String |
getShortDescription()
|
java.lang.String |
getUsage()
|
static void |
initPlugin(org.osgi.framework.BundleContext bundleContext,
java.util.Set<java.lang.String> modes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunModeCommand
public RunModeCommand(java.util.Set<java.lang.String> modes)
initPlugin
public static void initPlugin(org.osgi.framework.BundleContext bundleContext,
java.util.Set<java.lang.String> modes)
destroyPlugin
public static void destroyPlugin()
getName
public java.lang.String getName()
- Specified by:
getName in interface org.apache.felix.shell.Command
- See Also:
Command.getName()
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription in interface org.apache.felix.shell.Command
- See Also:
Command.getShortDescription()
getUsage
public java.lang.String getUsage()
- Specified by:
getUsage in interface org.apache.felix.shell.Command
- See Also:
Command.getUsage()
execute
public void execute(java.lang.String command,
java.io.PrintStream out,
java.io.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-2012 The Apache Software Foundation. All Rights Reserved.