A B C D E G H I J K L M N P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- alias(String, String) - Method in class javax0.repl.Repl
-
Define a new alias
- allowExit(Function<CommandEnvironment, Boolean>) - Method in class javax0.repl.Repl
-
Define an allow exit function.
- args(String[]) - Method in class javax0.repl.Repl
-
Pass the arguments to the application from the OS command line.
B
- BufferedReaderConsole - Class in javax0.repl
- BufferedReaderConsole() - Constructor for class javax0.repl.BufferedReaderConsole
- build() - Method in interface javax0.repl.CommandDefinitionBuilder.CommandDefinitionBuilderReady
- build() - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
C
- command(CommandDefinitionBuilder.CommandDefinitionBuilderReady) - Method in class javax0.repl.Repl
-
Define a command.
- CommandDefinitionBuilder - Class in javax0.repl
-
A command definition builder that can be used to create a command definition.
- CommandDefinitionBuilder() - Constructor for class javax0.repl.CommandDefinitionBuilder
- CommandDefinitionBuilder.CommandDefinitionBuilderReady - Interface in javax0.repl
- CommandDefinitionBuilder.If0 - Interface in javax0.repl
- CommandDefinitionBuilder.If1 - Interface in javax0.repl
- CommandDefinitionBuilder.If10 - Interface in javax0.repl
- CommandDefinitionBuilder.If2 - Interface in javax0.repl
- CommandDefinitionBuilder.If3 - Interface in javax0.repl
- CommandDefinitionBuilder.If4 - Interface in javax0.repl
- CommandDefinitionBuilder.If5 - Interface in javax0.repl
- CommandDefinitionBuilder.If6 - Interface in javax0.repl
- CommandDefinitionBuilder.If7 - Interface in javax0.repl
- CommandDefinitionBuilder.If8 - Interface in javax0.repl
- CommandDefinitionBuilder.If9 - Interface in javax0.repl
- CommandDefinitionBuilder.Wrapper - Class in javax0.repl
- CommandEnvironment - Interface in javax0.repl
- console() - Method in interface javax0.repl.CommandEnvironment
- ConsoleConsole - Class in javax0.repl
-
LocalConsole
implementation that usesSystem.console()
- ConsoleConsole() - Constructor for class javax0.repl.ConsoleConsole
D
E
- error(String) - Method in class javax0.repl.Message
- executor(Consumer<CommandEnvironment>) - Method in interface javax0.repl.CommandDefinitionBuilder.If0
- executor(Consumer<CommandEnvironment>) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
G
- get(int) - Method in class javax0.repl.ParameterParser
-
Get the
i
-th parameter (starting with 0) from the parsed line. - get(String) - Method in class javax0.repl.ParameterParser
-
Get the value that was associated with the key on the parsed line.
- get(String, Set<String>) - Method in class javax0.repl.ParameterParser
-
Get the value associated with the key using a set of predefined values.
- getOrDefault(String, String) - Method in class javax0.repl.ParameterParser
-
Get the value associated with the key or the default in case the key was not present on the command line.
- getOrDefault(String, String, Set<String>) - Method in class javax0.repl.ParameterParser
-
The same as
ParameterParser.get(String, Set)
but if the key was not defined it will return the default value instead ofnull
.
H
- help(String) - Method in interface javax0.repl.CommandDefinitionBuilder.If1
- help(String) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
I
- info(String) - Method in class javax0.repl.Message
J
- javax0.repl - package javax0.repl
K
- keyword() - Method in interface javax0.repl.CommandEnvironment
- kw(String) - Method in interface javax0.repl.CommandDefinitionBuilder.If10
- kw(String) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
L
- line() - Method in interface javax0.repl.CommandEnvironment
- LocalConsole - Interface in javax0.repl
-
This is a local interface that defines a subset of the functionalities of the system console.
M
- main(String[]) - Static method in class javax0.repl.Noop
- matcher() - Method in interface javax0.repl.CommandEnvironment
- matcherId() - Method in interface javax0.repl.CommandEnvironment
- message() - Method in interface javax0.repl.CommandEnvironment
- message() - Method in class javax0.repl.Message
- Message - Class in javax0.repl
-
A message object used by commands to collect informational, warning and error messages.
- Message() - Constructor for class javax0.repl.Message
N
- Noop - Class in javax0.repl
-
A sample application that defines no commands at all.
- Noop() - Constructor for class javax0.repl.Noop
- noParameters() - Method in interface javax0.repl.CommandDefinitionBuilder.If5
- noParameters() - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
P
- parameter(String) - Method in interface javax0.repl.CommandDefinitionBuilder.If7
- parameter(String) - Method in interface javax0.repl.CommandDefinitionBuilder.If8
- parameter(String) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
- ParameterParser - Class in javax0.repl
-
A parameter parser that is to parse the command line and after that to query the command parameters.
- ParameterParser() - Constructor for class javax0.repl.ParameterParser
- parameters(Set<String>) - Method in interface javax0.repl.CommandDefinitionBuilder.If6
- parameters(Set<String>) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
- parser() - Method in interface javax0.repl.CommandEnvironment
- prompt(String) - Method in class javax0.repl.Repl
-
Define the prompt that th euser will see in the
R
- readLine(String) - Method in class javax0.repl.BufferedReaderConsole
- readLine(String) - Method in class javax0.repl.ConsoleConsole
- readLine(String) - Method in interface javax0.repl.LocalConsole
-
Read a line from the console.
- regex(String, String) - Method in interface javax0.repl.CommandDefinitionBuilder.If3
- regex(String, String) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
- repl() - Method in interface javax0.repl.CommandEnvironment
- Repl - Class in javax0.repl
- Repl() - Constructor for class javax0.repl.Repl
-
Create a new object that already has the built-in commands configured.
- run() - Method in class javax0.repl.Repl
-
Run the application.
S
- start() - Static method in class javax0.repl.CommandDefinitionBuilder
- startup(String) - Method in class javax0.repl.Repl
-
Define the name of the startup file that is executed when the applicatoin starts to run.
- stateReporter(Consumer<CommandEnvironment>) - Method in class javax0.repl.Repl
-
Define a command, which is started after each configured command execution.
T
- title(String) - Method in class javax0.repl.Repl
-
Provide a title for the application.
U
- usage(String) - Method in interface javax0.repl.CommandDefinitionBuilder.If2
- usage(String) - Method in class javax0.repl.CommandDefinitionBuilder.Wrapper
W
- warning(String) - Method in class javax0.repl.Message
- Wrapper() - Constructor for class javax0.repl.CommandDefinitionBuilder.Wrapper
- writer() - Method in class javax0.repl.BufferedReaderConsole
- writer() - Method in class javax0.repl.ConsoleConsole
- writer() - Method in interface javax0.repl.LocalConsole
All Classes All Packages