@Command(name="pwd") public class CurrentDirectoryCommand extends CommandActionSupport
CommandAction.Resultlog| Constructor and Description |
|---|
CurrentDirectoryCommand(FileSystemAccess fileSystem) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(CommandContext context)
Execute the command action.
|
clone, createMessages, getCompleters, getMessages, getName, getSimpleName, setCompleters, setCompleters, setName@Inject public CurrentDirectoryCommand(FileSystemAccess fileSystem)
public Object execute(CommandContext context) throws Exception
CommandActioncontext - The execution context of the command.Exception - Command execution failed.Copyright © 2008-2012 Sonatype. All Rights Reserved.