org.sonatype.gshell.commands.file
Class DeleteDirectoryCommand
java.lang.Object
org.sonatype.gshell.command.support.CommandActionSupport
org.sonatype.gshell.commands.file.DeleteDirectoryCommand
- All Implemented Interfaces:
- Cloneable, CommandAction, NameAware
@Command(name="rmdir")
public class DeleteDirectoryCommand
- extends CommandActionSupport
Remove a directory.
- Since:
- 2.0
- Author:
- Jason Dillon
DeleteDirectoryCommand
@Inject
public DeleteDirectoryCommand(FileSystemAccess fileSystem)
installCompleters
@Inject
public DeleteDirectoryCommand installCompleters(jline.console.completer.Completer c1)
execute
public Object execute(CommandContext context)
throws Exception
- Description copied from interface:
CommandAction
- Execute the command action.
- Parameters:
context - The execution context of the command.
- Returns:
- The result of the command execution.
- Throws:
Exception - Command execution failed.
Copyright © 2008-2011 Sonatype. All Rights Reserved.