org.sonatype.gshell.commands.pref
Class GetPreferenceCommand
java.lang.Object
org.sonatype.gshell.command.support.CommandActionSupport
org.sonatype.gshell.commands.pref.PreferenceCommandSupport
org.sonatype.gshell.commands.pref.PreferenceNodeCommandSupport
org.sonatype.gshell.commands.pref.GetPreferenceCommand
- All Implemented Interfaces:
- Cloneable, CommandAction, NameAware
@Command(name="pref/get")
public class GetPreferenceCommand
- extends PreferenceNodeCommandSupport
Get a preference value.
- Since:
- 2.0
- Author:
- Jason Dillon
GetPreferenceCommand
public GetPreferenceCommand()
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.