Package com.biglybt.ui.console.commands
Class Set
java.lang.Object
com.biglybt.ui.console.commands.IConsoleCommand
com.biglybt.ui.console.commands.Set
command that allows manipulation of the client's 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)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
class that represents a parameter.Nested classes/interfaces inherited from class com.biglybt.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
displayOptions
(PrintStream out, StringPattern sp, boolean non_defaults) void
execute
(String commandName, ConsoleInput ci, List args) execute the command with the specified name using the specified argumentsreturn high-level help about the commands supported by this object.void
printHelpExtra
(PrintStream out, List args) protected static String
quoteIfNeeded
(String str) Methods inherited from class com.biglybt.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
-
Field Details
-
NULL_STRING
- See Also:
-
-
Constructor Details
-
Set
public Set()
-
-
Method Details
-
getCommandDescriptions
Description copied from class:IConsoleCommand
return high-level help about the commands supported by this object.- Specified by:
getCommandDescriptions
in classIConsoleCommand
- Returns:
-
printHelpExtra
- Overrides:
printHelpExtra
in classIConsoleCommand
-
execute
Description copied from class:IConsoleCommand
execute the command with the specified name using the specified arguments- Specified by:
execute
in classIConsoleCommand
-
displayOptions
-
quoteIfNeeded
-