org.gudy.azureus2.ui.console.commands
Class Set

java.lang.Object
  extended by org.gudy.azureus2.ui.console.commands.IConsoleCommand
      extended by org.gudy.azureus2.ui.console.commands.Set

public class Set
extends IConsoleCommand

command that allows manipulation of Azureus' runtime properties. - when called without any parameters, it lists all of the available runtime properties. - when called with 1 parameter, it shows the current value of that parameter - when called with 2 or 3 parameters, it assigns a specified value to the specified parameter name. (the third parameter forces the property to be set to a particular type, otherwise we try and guess the type by the current value)

Author:
Tobias Minich, Paul Duran

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
 
Constructor Summary
Set()
           
 
Method Summary
 void execute(java.lang.String commandName, ConsoleInput ci, java.util.List args)
          execute the command with the specified name using the specified arguments
 java.lang.String getCommandDescriptions()
          return high-level help about the commands supported by this object.
 void printHelpExtra(java.io.PrintStream out, java.util.List args)
           
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Set

public Set()
Method Detail

getCommandDescriptions

public java.lang.String getCommandDescriptions()
Description copied from class: IConsoleCommand
return high-level help about the commands supported by this object.

Specified by:
getCommandDescriptions in class IConsoleCommand
Returns:

printHelpExtra

public void printHelpExtra(java.io.PrintStream out,
                           java.util.List args)
Overrides:
printHelpExtra in class IConsoleCommand

execute

public void execute(java.lang.String commandName,
                    ConsoleInput ci,
                    java.util.List args)
Description copied from class: IConsoleCommand
execute the command with the specified name using the specified arguments

Specified by:
execute in class IConsoleCommand