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 classclass that represents a parameter.Nested classes/interfaces inherited from class IConsoleCommand
IConsoleCommand.TorrentComparator -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddisplayOptions(PrintStream out, StringPattern sp, boolean non_defaults) voidexecute(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.voidprintHelpExtra(PrintStream out, List args) protected static StringquoteIfNeeded(String str) Methods inherited from class 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:IConsoleCommandreturn high-level help about the commands supported by this object.- Specified by:
getCommandDescriptionsin classIConsoleCommand- Returns:
-
printHelpExtra
- Overrides:
printHelpExtrain classIConsoleCommand
-
execute
Description copied from class:IConsoleCommandexecute the command with the specified name using the specified arguments- Specified by:
executein classIConsoleCommand- Parameters:
commandName-ci-args-
-
displayOptions
-
quoteIfNeeded
-