A B C D E F G H I J L M N O P Q R S T V W

A

AbstractShell - Class in org.springframework.shell.core
Provides a base Shell implementation.
AbstractShell() - Constructor for class org.springframework.shell.core.AbstractShell
 
AbstractShellStatusPublisher - Class in org.springframework.shell.event
Provides a convenience superclass for those shells wishing to publish status messages.
AbstractShellStatusPublisher() - Constructor for class org.springframework.shell.event.AbstractShellStatusPublisher
 
add(Class<?>) - Method in interface org.springframework.shell.converters.StaticFieldConverter
 
add(Class<?>) - Method in class org.springframework.shell.converters.StaticFieldConverterImpl
 
add(CommandMarker) - Method in class org.springframework.shell.core.SimpleParser
 
add(Converter<?>) - Method in class org.springframework.shell.core.SimpleParser
 
addShellStatusListener(ShellStatusListener) - Method in class org.springframework.shell.event.AbstractShellStatusPublisher
 
addShellStatusListener(ShellStatusListener) - Method in interface org.springframework.shell.event.ShellStatusProvider
Registers a new status listener.
afterReturningInvocation(ParseResult, Object) - Method in interface org.springframework.shell.core.ExecutionProcessor
Method called after successfully invoking the target command (described by ParseResult).
afterThrowingInvocation(ParseResult, Throwable) - Method in interface org.springframework.shell.core.ExecutionProcessor
Method called after invoking the target command (described by ParseResult) had thrown an exception .
AnsiEscapeCode - Enum in org.springframework.shell.support.util
ANSI escape codes supported by JLine
AvailableCommandsConverter - Class in org.springframework.shell.converters
Available commands converter.
AvailableCommandsConverter() - Constructor for class org.springframework.shell.converters.AvailableCommandsConverter
 

B

backOneDirectory(String) - Static method in class org.springframework.shell.support.util.FileUtils
Returns the given file system path minus its last element
BannerProvider - Interface in org.springframework.shell.plugin
Banner provider.
beforeInvocation(ParseResult) - Method in interface org.springframework.shell.core.ExecutionProcessor
Method called before invoking the target command (described by ParseResult).
BigDecimalConverter - Class in org.springframework.shell.converters
Converter for BigDecimal.
BigDecimalConverter() - Constructor for class org.springframework.shell.converters.BigDecimalConverter
 
BigIntegerConverter - Class in org.springframework.shell.converters
Converter for BigInteger.
BigIntegerConverter() - Constructor for class org.springframework.shell.converters.BigIntegerConverter
 
blockCommentBegin() - Method in class org.springframework.shell.core.AbstractShell
 
blockCommentFinish() - Method in class org.springframework.shell.core.AbstractShell
 
BooleanConverter - Class in org.springframework.shell.converters
Converter for Boolean.
BooleanConverter() - Constructor for class org.springframework.shell.converters.BooleanConverter
 
Bootstrap - Class in org.springframework.shell
Loads a Shell using Spring IoC container.
Bootstrap(String) - Constructor for class org.springframework.shell.Bootstrap
 

C

cancelRedrawProhibition() - Static method in class org.springframework.shell.core.JLineLogHandler
 
CharacterConverter - Class in org.springframework.shell.converters
Converter for Character.
CharacterConverter() - Constructor for class org.springframework.shell.converters.CharacterConverter
 
CliAvailabilityIndicator - Annotation Type in org.springframework.shell.core.annotation
Annotates a method that can indicate whether a particular command is presently available or not.
CliCommand - Annotation Type in org.springframework.shell.core.annotation
Annotates a method that provides a command to the shell.
CliOption - Annotation Type in org.springframework.shell.core.annotation
Annotates the arguments of a command methods, allowing it to declare the argument value as mandatory or optional with a default value.
CliOptionContext - Class in org.springframework.shell.core
Utility methods relating to shell option contexts
CliSimpleParserContext - Class in org.springframework.shell.core
Utility methods relating to shell simple parser contexts.
close() - Method in class org.springframework.shell.core.JLineLogHandler
 
close() - Method in class org.springframework.shell.support.logging.DeferredLogHandler
 
close() - Method in class org.springframework.shell.support.logging.LoggingOutputStream
 
closeQuietly(Closeable...) - Static method in class org.springframework.shell.support.util.IOUtils
Quietly closes each of the given Closeables, i.e. eats any IOExceptions arising.
closeQuietly(ZipFile...) - Static method in class org.springframework.shell.support.util.IOUtils
Quietly closes each of the given ZipFiles, i.e. eats any IOExceptions arising.
closeShell() - Method in class org.springframework.shell.core.JLineShell
Should be called by a subclass before deactivating the shell.
command(String) - Method in class org.springframework.shell.commands.OsCommands
 
CommandMarker - Interface in org.springframework.shell.core
Marker interface indicating a provider of one or more shell commands.
commandNotFound(Logger, String) - Method in class org.springframework.shell.core.SimpleParser
 
compare(E, E) - Method in class org.springframework.shell.support.util.NaturalOrderComparator
 
complete(String, int, List) - Method in class org.springframework.shell.core.JLineCompletorAdapter
 
complete(String, int, List<String>) - Method in interface org.springframework.shell.core.Parser
Populates a list of completion candidates.
complete(String, int, List<String>) - Method in class org.springframework.shell.core.SimpleParser
 
completeAdvanced(String, int, List<Completion>) - Method in interface org.springframework.shell.core.Parser
Populates a list of completion candidates.
completeAdvanced(String, int, List<Completion>) - Method in class org.springframework.shell.core.SimpleParser
 
Completion - Class in org.springframework.shell.core
 
Completion(String) - Constructor for class org.springframework.shell.core.Completion
Constructor
Completion(String, String, String, int) - Constructor for class org.springframework.shell.core.Completion
Constructor
completionKeys - Static variable in class org.springframework.shell.core.AbstractShell
 
Converter<T> - Interface in org.springframework.shell.core
Converts between Strings (as displayed by and entered via the shell) and Java objects
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.AvailableCommandsConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.BigDecimalConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.BigIntegerConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.BooleanConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.CharacterConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.DateConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.DoubleConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.EnumConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.FileConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.FloatConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.IntegerConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.LocaleConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.LongConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.ShortConverter
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.StaticFieldConverterImpl
 
convertFromText(String, Class<?>, String) - Method in class org.springframework.shell.converters.StringConverter
 
convertFromText(String, Class<?>, String) - Method in interface org.springframework.shell.core.Converter
Converts from the given String value to type T
copyRecursively(File, File, boolean) - Static method in class org.springframework.shell.support.util.FileUtils
Copies the specified source directory to the destination.
createAndRegisterBeanDefinition(AnnotationConfigApplicationContext, Class) - Method in class org.springframework.shell.Bootstrap
 
createAndRegisterBeanDefinition(AnnotationConfigApplicationContext, Class, String) - Method in class org.springframework.shell.Bootstrap
 
createAnsiWindowsReader() - Method in class org.springframework.shell.core.JLineShell
 
createConsoleReader() - Method in class org.springframework.shell.core.JLineShell
Creates new jline ConsoleReader.
CURRENT_DIRECTORY - Static variable in class org.springframework.shell.support.util.FileUtils
The relative file path to the current directory.
customizePlugin() - Method in class org.springframework.shell.core.JLineShellComponent
 

D

date() - Method in class org.springframework.shell.core.AbstractShell
 
DateConverter - Class in org.springframework.shell.converters
Converter for Date.
DateConverter() - Constructor for class org.springframework.shell.converters.DateConverter
 
DateConverter(DateFormat) - Constructor for class org.springframework.shell.converters.DateConverter
 
decorate(String, AnsiEscapeCode...) - Static method in enum org.springframework.shell.support.util.AnsiEscapeCode
Decorates the given text with the given escape codes (turning them off afterwards)
DefaultBannerProvider - Class in org.springframework.shell.plugin.support
Default Banner provider.
DefaultBannerProvider() - Constructor for class org.springframework.shell.plugin.support.DefaultBannerProvider
 
DefaultHistoryFileNameProvider - Class in org.springframework.shell.plugin.support
Default history file provider.
DefaultHistoryFileNameProvider() - Constructor for class org.springframework.shell.plugin.support.DefaultHistoryFileNameProvider
 
DefaultPromptProvider - Class in org.springframework.shell.plugin.support
Default prompt provider.
DefaultPromptProvider() - Constructor for class org.springframework.shell.plugin.support.DefaultPromptProvider
 
DeferredLogHandler - Class in org.springframework.shell.support.logging
Defers the publication of JDK LogRecord instances until a target Handler is registered.
DeferredLogHandler(Handler, Level) - Constructor for class org.springframework.shell.support.logging.DeferredLogHandler
Creates an instance that will publish all recorded LogRecord instances to the specified fallback Handler if an event of the specified Level is received.
deleteRecursively(File) - Static method in class org.springframework.shell.support.util.FileUtils
Deletes the specified File.
denotesAbsolutePath(String) - Static method in class org.springframework.shell.support.util.FileUtils
Checks if the provided fileName denotes an absolute path on the file system.
displayFile(String, Class<?>, boolean) - Static method in class org.springframework.shell.support.logging.MessageDisplayUtils
Displays the requested file via the LOGGER API.
displayFile(String, Class<?>) - Static method in class org.springframework.shell.support.logging.MessageDisplayUtils
Same as MessageDisplayUtils.displayFile(String, Class, boolean) except it passes false as the final argument.
DoubleConverter - Class in org.springframework.shell.converters
Converter for Double.
DoubleConverter() - Constructor for class org.springframework.shell.converters.DoubleConverter
 

E

ensureTrailingSeparator(String) - Static method in class org.springframework.shell.support.util.FileUtils
Ensures that the given path has exactly one trailing File.separator
EnumConverter - Class in org.springframework.shell.converters
Converter for Enum.
EnumConverter() - Constructor for class org.springframework.shell.converters.EnumConverter
 
equals(Object) - Method in class org.springframework.shell.core.Completion
 
equals(Object) - Method in class org.springframework.shell.core.MethodTarget
 
equals(Object) - Method in class org.springframework.shell.event.ParseResult
 
equals(Object) - Method in class org.springframework.shell.event.ShellStatus
 
EssentialCommands - Class in org.springframework.shell.commands
 
EssentialCommands() - Constructor for class org.springframework.shell.commands.EssentialCommands
 
ExceptionUtils - Class in org.springframework.shell.support.util
Methods for working with exceptions.
ExceptionUtils() - Constructor for class org.springframework.shell.support.util.ExceptionUtils
 
execute(ParseResult) - Method in interface org.springframework.shell.core.ExecutionStrategy
Executes the method indicated by the ParseResult.
execute(ParseResult) - Method in class org.springframework.shell.core.SimpleExecutionStrategy
 
executeCommand(String) - Method in interface org.springframework.shell.commands.OsOperations
Attempts the execution of a commands and delegates the output to the standard logger.
executeCommand(String) - Method in class org.springframework.shell.commands.OsOperationsImpl
 
executeCommand(String) - Method in class org.springframework.shell.core.AbstractShell
 
executeCommand(String) - Method in interface org.springframework.shell.core.Shell
Runs the specified command.
executeScriptLine(String) - Method in class org.springframework.shell.core.AbstractShell
Execute the single line from a script.
ExecutionProcessor - Interface in org.springframework.shell.core
Extension interface allowing command provider to be called in a generic fashion just before, and right after, executing a command.
ExecutionStrategy - Interface in org.springframework.shell.core
Strategy interface to permit the controlled execution of methods.
exitShellRequest - Variable in class org.springframework.shell.core.AbstractShell
 
ExitShellRequest - Class in org.springframework.shell.core
An immutable representation of a request to exit the shell.
extractRootCause(Throwable) - Static method in class org.springframework.shell.support.util.ExceptionUtils
Obtains the root cause of an exception, if available.

F

FATAL_EXIT - Static variable in class org.springframework.shell.core.ExitShellRequest
 
FileConverter - Class in org.springframework.shell.converters
Converter for File.
FileConverter() - Constructor for class org.springframework.shell.converters.FileConverter
 
FileUtils - Class in org.springframework.shell.support.util
Utilities for handling File instances.
findResources(String) - Method in class org.springframework.shell.core.AbstractShell
Returns any classpath resources with the given path
findResources(String) - Method in class org.springframework.shell.core.JLineShellComponent
 
flash(Level, String, String) - Method in class org.springframework.shell.core.AbstractShell
Simple implementation of AbstractShell.flash(Level, String, String) that simply displays the message via the logger.
flash(Level, String, String) - Method in class org.springframework.shell.core.JLineShell
 
flash(Level, String, String) - Method in interface org.springframework.shell.core.Shell
Displays a progress notification to the user.
flashCustom() - Method in class org.springframework.shell.core.AbstractShell
 
FloatConverter - Class in org.springframework.shell.converters
Converter for Float.
FloatConverter() - Constructor for class org.springframework.shell.converters.FloatConverter
 
flush() - Method in class org.springframework.shell.core.JLineLogHandler
 
flush() - Method in class org.springframework.shell.support.logging.DeferredLogHandler
 
flush() - Method in class org.springframework.shell.support.logging.LoggingOutputStream
 
flushAllHandlers(Logger) - Static method in class org.springframework.shell.support.logging.HandlerUtils
Forces all Handler instances registered in the presented Logger to be flushed.

G

getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.AvailableCommandsConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.BigDecimalConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.BigIntegerConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.BooleanConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.CharacterConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.DateConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.DoubleConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.EnumConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.FileConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.FloatConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.IntegerConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.LocaleConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.LongConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.ShortConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.StaticFieldConverterImpl
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in class org.springframework.shell.converters.StringConverter
 
getAllPossibleValues(List<Completion>, Class<?>, String, String, MethodTarget) - Method in interface org.springframework.shell.core.Converter
Populates the given list with the possible completions
getANSIBuffer() - Static method in class org.springframework.shell.core.JLineLogHandler
Makes text brighter if requested through system property 'roo.bright' and works around issue on Windows in using reverse() in combination with the Jansi lib, which leaves its 'negative' flag set unless reset explicitly.
getArguments() - Method in class org.springframework.shell.event.ParseResult
 
getBanner() - Method in interface org.springframework.shell.plugin.BannerProvider
Returns the banner.
getBanner() - Method in class org.springframework.shell.plugin.support.DefaultBannerProvider
 
getCanonicalPath(File) - Static method in class org.springframework.shell.support.util.FileUtils
Returns the canonical path of the given File.
getEveryCommand() - Method in class org.springframework.shell.core.SimpleParser
 
getExecutionStrategy() - Method in class org.springframework.shell.core.AbstractShell
 
getExecutionStrategy() - Method in class org.springframework.shell.core.JLineShellComponent
 
getExitCode() - Method in class org.springframework.shell.core.ExitShellRequest
 
getExitShellRequest() - Method in class org.springframework.shell.core.AbstractShell
 
getExitShellRequest() - Method in interface org.springframework.shell.core.Shell
 
getFile(Class<?>, String) - Static method in class org.springframework.shell.support.util.FileUtils
Loads the given file from the classpath.
getFileSeparatorAsRegex() - Static method in class org.springframework.shell.support.util.FileUtils
Returns the platform-specific file separator as a regular expression.
getFirstDirectory(String) - Static method in class org.springframework.shell.support.util.FileUtils
Returns the part of the given path that represents a directory, in other words the given path if it's already a directory, or the parent directory if it's a file.
getFormattedValue() - Method in class org.springframework.shell.core.Completion
 
getHeading() - Method in class org.springframework.shell.core.Completion
 
getHistoryFileName() - Method in class org.springframework.shell.core.JLineShell
get history file name from provider.
getHistoryFileName() - Method in class org.springframework.shell.core.JLineShellComponent
get history file name from provider.
getHistoryFileName() - Method in interface org.springframework.shell.plugin.HistoryFileNameProvider
get history file name
getHistoryFileName() - Method in class org.springframework.shell.plugin.support.DefaultHistoryFileNameProvider
 
getHistorySize() - Method in class org.springframework.shell.core.JLineShell
 
getHome() - Method in class org.springframework.shell.core.AbstractShell
Obtains the home directory for the current shell instance.
getHome() - Method in interface org.springframework.shell.core.Shell
Returns the home directory of the current running shell instance
getHomeAsString() - Method in class org.springframework.shell.core.AbstractShell
 
getHomeAsString() - Method in class org.springframework.shell.core.JLineShell
Obtains the "roo.home" from the system property, falling back to the current working directory if missing.
getInputStream(Class<?>, String) - Static method in class org.springframework.shell.support.util.FileUtils
Loads the given file from the classpath.
getInstance() - Method in class org.springframework.shell.event.ParseResult
 
getKey() - Method in class org.springframework.shell.core.MethodTarget
 
getLogger(Class<?>) - Static method in class org.springframework.shell.support.logging.HandlerUtils
Obtains a Logger that guarantees to set the Level to Level.FINE if it is part of org.springframework.roo.
getMessage() - Method in class org.springframework.shell.event.ShellStatus
 
getMethod() - Method in class org.springframework.shell.core.MethodTarget
 
getMethod() - Method in class org.springframework.shell.event.ParseResult
 
getOptionContext() - Static method in class org.springframework.shell.core.CliOptionContext
Returns the option context for the current thread.
getOrder() - Method in class org.springframework.shell.core.Completion
 
getParser() - Method in class org.springframework.shell.core.AbstractShell
 
getParser() - Method in class org.springframework.shell.core.JLineShellComponent
 
getParseResult() - Method in class org.springframework.shell.event.ShellStatus
 
getPath(Class<?>, String) - Static method in class org.springframework.shell.support.util.FileUtils
Determines the path to the requested file, relative to the given class.
getProductName() - Method in class org.springframework.shell.core.JLineShell
get product name
getProductName() - Method in class org.springframework.shell.core.JLineShellComponent
 
getPrompt() - Method in interface org.springframework.shell.plugin.PromptProvider
Returns the prompt text.
getPrompt() - Method in class org.springframework.shell.plugin.support.DefaultPromptProvider
 
getPromptText() - Method in class org.springframework.shell.core.JLineShell
get prompt text from provider.
getPromptText() - Method in class org.springframework.shell.core.JLineShellComponent
get prompt text from provider.
getRemainingBuffer() - Method in class org.springframework.shell.core.MethodTarget
 
getShellPrompt() - Method in class org.springframework.shell.core.AbstractShell
 
getShellPrompt() - Method in interface org.springframework.shell.core.ShellPromptAccessor
 
getShellStatus() - Method in class org.springframework.shell.event.AbstractShellStatusPublisher
 
getShellStatus() - Method in interface org.springframework.shell.event.ShellStatusProvider
Returns the current shell status.
getSimpleParser() - Method in class org.springframework.shell.core.JLineShellComponent
 
getSimpleParserContext() - Static method in class org.springframework.shell.core.CliSimpleParserContext
 
getSourceClassName() - Method in class org.springframework.shell.support.logging.LoggingOutputStream
 
getStartupNotifications() - Method in class org.springframework.shell.core.JLineShell
 
getStartupNotifications() - Method in class org.springframework.shell.core.JLineShellComponent
 
getStatus() - Method in class org.springframework.shell.event.ShellStatus
 
getSystemDependentPath(String...) - Static method in class org.springframework.shell.support.util.FileUtils
Returns an operating-system-dependent path consisting of the given elements, separated by File.separator.
getSystemDependentPath(Collection<String>) - Static method in class org.springframework.shell.support.util.FileUtils
Returns an operating-system-dependent path consisting of the given elements, separated by File.separator.
getTarget() - Method in class org.springframework.shell.core.MethodTarget
 
getTargetHandler() - Method in class org.springframework.shell.support.logging.DeferredLogHandler
 
getValue() - Method in class org.springframework.shell.core.Completion
 
getVersion() - Method in class org.springframework.shell.core.JLineShell
get version information
getVersion() - Method in class org.springframework.shell.core.JLineShellComponent
 
getVersion() - Method in interface org.springframework.shell.plugin.BannerProvider
Returns the associated version.
getVersion() - Method in class org.springframework.shell.plugin.support.DefaultBannerProvider
 
getWelcomeMessage() - Method in class org.springframework.shell.core.JLineShellComponent
get the welcome message at start.
getWelcomeMessage() - Method in interface org.springframework.shell.plugin.BannerProvider
Returns the welcome message.
getWelcomeMessage() - Method in class org.springframework.shell.plugin.support.DefaultBannerProvider
 
getWorkingDirectory() - Method in class org.springframework.shell.converters.FileConverter
 
getWorkingDirectory() - Method in class org.springframework.shell.converters.SimpleFileConverter
 

H

handleExecutionResult(Object) - Method in class org.springframework.shell.core.AbstractShell
Handles the result of execution of a command.
HandlerUtils - Class in org.springframework.shell.support.logging
Utility methods for dealing with Handler objects.
HandlerUtils() - Constructor for class org.springframework.shell.support.logging.HandlerUtils
 
hashCode() - Method in class org.springframework.shell.core.Completion
 
hashCode() - Method in class org.springframework.shell.core.MethodTarget
 
hashCode() - Method in class org.springframework.shell.event.ParseResult
 
hashCode() - Method in class org.springframework.shell.event.ShellStatus
 
HelpCommands - Class in org.springframework.shell.commands
Provides a listing of commands known to the shell.
HelpCommands() - Constructor for class org.springframework.shell.commands.HelpCommands
 
HistoryFileNameProvider - Interface in org.springframework.shell.plugin
History file name provider.

I

IdeTerminal - Class in org.springframework.shell.core
Terminal used for debugging inside an IDE.
IdeTerminal() - Constructor for class org.springframework.shell.core.IdeTerminal
 
inBlockComment - Variable in class org.springframework.shell.core.AbstractShell
 
inlineComment() - Method in class org.springframework.shell.core.AbstractShell
 
IntegerConverter - Class in org.springframework.shell.converters
Converter for Integer.
IntegerConverter() - Constructor for class org.springframework.shell.converters.IntegerConverter
 
IOUtils - Class in org.springframework.shell.support.util
Static helper methods relating to I/O.
isANSISupported() - Method in class org.springframework.shell.core.IdeTerminal
 
isDevelopmentMode() - Method in class org.springframework.shell.core.JLineShell
 
isDevelopmentMode() - Method in interface org.springframework.shell.core.Shell
 
isReadyForCommands() - Method in interface org.springframework.shell.core.ExecutionStrategy
Indicates commands are able to be presented.
isReadyForCommands() - Method in class org.springframework.shell.core.SimpleExecutionStrategy
 
isRunning() - Method in class org.springframework.shell.core.JLineShellComponent
 
isSpace(char) - Static method in class org.springframework.shell.support.util.NaturalOrderComparator
Indicates whether the given character is whitespace
isSuppressDuplicateMessages() - Static method in class org.springframework.shell.core.JLineLogHandler
 
isWindows() - Static method in class org.springframework.shell.support.util.OsUtils
 

J

JLineCompletorAdapter - Class in org.springframework.shell.core
An implementation of JLine's Completor interface that delegates to a Parser.
JLineCompletorAdapter(Parser) - Constructor for class org.springframework.shell.core.JLineCompletorAdapter
 
JLineLogHandler - Class in org.springframework.shell.core
JDK logging Handler that emits log messages to a JLine ConsoleReader.
JLineLogHandler(ConsoleReader, ShellPromptAccessor) - Constructor for class org.springframework.shell.core.JLineLogHandler
 
JLineShell - Class in org.springframework.shell.core
Uses the feature-rich JLine library to provide an interactive shell.
JLineShell() - Constructor for class org.springframework.shell.core.JLineShell
 
JLineShellComponent - Class in org.springframework.shell.core
Launcher for JLineShell.
JLineShellComponent() - Constructor for class org.springframework.shell.core.JLineShellComponent
 
JVM_TERMINATED_EXIT - Static variable in class org.springframework.shell.core.ExitShellRequest
 

L

LINE_SEPARATOR - Static variable in class org.springframework.shell.support.util.OsUtils
 
LocaleConverter - Class in org.springframework.shell.converters
Converter for Locale.
LocaleConverter() - Constructor for class org.springframework.shell.converters.LocaleConverter
 
logCommandIfRequired(String, boolean) - Method in class org.springframework.shell.core.AbstractShell
Allows a subclass to log the execution of a well-formed command.
logCommandToOutput(String) - Method in class org.springframework.shell.core.AbstractShell
Allows a subclass to actually write the resulting logged command to some form of output.
logCommandToOutput(String) - Method in class org.springframework.shell.core.JLineShell
 
logger - Variable in class org.springframework.shell.core.AbstractShell
 
LOGGER - Static variable in class org.springframework.shell.support.logging.LoggingOutputStream
 
LoggingOutputStream - Class in org.springframework.shell.support.logging
Wraps an OutputStream and automatically passes each line to the Logger when OutputStream.flush() or OutputStream.close() is called.
LoggingOutputStream(Level) - Constructor for class org.springframework.shell.support.logging.LoggingOutputStream
Constructor
LongConverter - Class in org.springframework.shell.converters
Converter for Long.
LongConverter() - Constructor for class org.springframework.shell.converters.LongConverter
 

M

main(String[]) - Static method in class org.springframework.shell.Bootstrap
 
matchesAntPath(String, String) - Static method in class org.springframework.shell.support.util.FileUtils
Indicates whether the given canonical path matches the given Ant-style pattern
MathUtils - Class in org.springframework.shell.support.util
A class which contains a number of number manipulation operations
MathUtils() - Constructor for class org.springframework.shell.support.util.MathUtils
 
MessageDisplayUtils - Class in org.springframework.shell.support.logging
Retrieves text files from the classloader and displays them on-screen.
MessageDisplayUtils() - Constructor for class org.springframework.shell.support.logging.MessageDisplayUtils
 
MethodTarget - Class in org.springframework.shell.core
A method that can be executed via a shell command.
MethodTarget(Method, Object) - Constructor for class org.springframework.shell.core.MethodTarget
Constructor for a null remainingBuffer and key
MethodTarget(Method, Object, String, String) - Constructor for class org.springframework.shell.core.MethodTarget
Constructor that allows all fields to be set

N

name() - Method in interface org.springframework.shell.plugin.PluginProvider
Returns the name of the plugin.
name() - Method in class org.springframework.shell.plugin.support.DefaultBannerProvider
 
name() - Method in class org.springframework.shell.plugin.support.DefaultHistoryFileNameProvider
 
name() - Method in class org.springframework.shell.plugin.support.DefaultPromptProvider
 
NaturalOrderComparator<E> - Class in org.springframework.shell.support.util
NaturalOrderComparator.java -- Perform natural order comparisons of strings in Java.
NaturalOrderComparator() - Constructor for class org.springframework.shell.support.util.NaturalOrderComparator
 
NORMAL_EXIT - Static variable in class org.springframework.shell.core.ExitShellRequest
 

O

obtainHelp(String) - Method in class org.springframework.shell.commands.HelpCommands
 
obtainHelp(String) - Method in class org.springframework.shell.core.SimpleParser
 
onShellStatusChange(ShellStatus, ShellStatus) - Method in interface org.springframework.shell.event.ShellStatusListener
Invoked by the shell to report a new status.
org.springframework.shell - package org.springframework.shell
 
org.springframework.shell.commands - package org.springframework.shell.commands
 
org.springframework.shell.converters - package org.springframework.shell.converters
 
org.springframework.shell.core - package org.springframework.shell.core
 
org.springframework.shell.core.annotation - package org.springframework.shell.core.annotation
 
org.springframework.shell.event - package org.springframework.shell.event
 
org.springframework.shell.plugin - package org.springframework.shell.plugin
 
org.springframework.shell.plugin.support - package org.springframework.shell.plugin.support
 
org.springframework.shell.support.logging - package org.springframework.shell.support.logging
 
org.springframework.shell.support.util - package org.springframework.shell.support.util
 
OsCommands - Class in org.springframework.shell.commands
Command type to allow execution of native OS commands from the Spring Roo shell.
OsCommands() - Constructor for class org.springframework.shell.commands.OsCommands
 
OsOperations - Interface in org.springframework.shell.commands
Operations type to allow execution of native OS commands from the Spring Roo shell.
OsOperationsImpl - Class in org.springframework.shell.commands
Implementation of OsOperations interface.
OsOperationsImpl() - Constructor for class org.springframework.shell.commands.OsOperationsImpl
 
OsUtils - Class in org.springframework.shell.support.util
Utilities for handling OS-specific behavior.
OsUtils() - Constructor for class org.springframework.shell.support.util.OsUtils
 

P

parse(String) - Method in interface org.springframework.shell.core.Parser
 
parse(String) - Method in class org.springframework.shell.core.SimpleParser
 
parseCommandLine(String[]) - Static method in class org.springframework.shell.SimpleShellCommandLineOptions
 
Parser - Interface in org.springframework.shell.core
Interface for SimpleParser.
ParseResult - Class in org.springframework.shell.event
Immutable representation of the outcome of parsing a given shell line.
ParseResult(Method, Object, Object[]) - Constructor for class org.springframework.shell.event.ParseResult
 
ParserUtils - Class in org.springframework.shell.core
Utilities for parsing.
PluginProvider - Interface in org.springframework.shell.plugin
Generic plugin provider.
populate(List<Completion>, String, String, String) - Method in class org.springframework.shell.converters.FileConverter
 
printBannerAndWelcome() - Method in class org.springframework.shell.core.JLineShell
 
printBannerAndWelcome() - Method in class org.springframework.shell.core.JLineShellComponent
 
prohibitRedraw() - Static method in class org.springframework.shell.core.JLineLogHandler
 
promptLoop() - Method in class org.springframework.shell.core.JLineShell
 
promptLoop() - Method in interface org.springframework.shell.core.Shell
Presents a console prompt and allows the user to interact with the shell.
PromptProvider - Interface in org.springframework.shell.plugin
Shell prompt provider.
props() - Method in class org.springframework.shell.core.AbstractShell
 
publish(LogRecord) - Method in class org.springframework.shell.core.JLineLogHandler
 
publish(LogRecord) - Method in class org.springframework.shell.support.logging.DeferredLogHandler
Stores the log record internally.

Q

quit() - Method in class org.springframework.shell.commands.EssentialCommands
 

R

read(File) - Static method in class org.springframework.shell.support.util.FileUtils
Returns the contents of the given File as a String.
readBanner(Reader) - Static method in class org.springframework.shell.support.util.FileUtils
Reads a banner from the given resource.
readBanner(Class<?>, String) - Static method in class org.springframework.shell.support.util.FileUtils
Reads a banner from the given resource.
reader - Variable in class org.springframework.shell.core.JLineShell
 
registerTargetHandler(Logger, Handler) - Static method in class org.springframework.shell.support.logging.HandlerUtils
Registers the presented target Handler against any DeferredLogHandler encountered in the presented Logger.
remove(Class<?>) - Method in interface org.springframework.shell.converters.StaticFieldConverter
 
remove(Class<?>) - Method in class org.springframework.shell.converters.StaticFieldConverterImpl
 
remove(CommandMarker) - Method in class org.springframework.shell.core.SimpleParser
 
remove(Converter<?>) - Method in class org.springframework.shell.core.SimpleParser
 
removeLeadingAndTrailingSeparators(String) - Static method in class org.springframework.shell.support.util.FileUtils
Removes any leading or trailing File.separators from the given path.
removeShellStatusListener(ShellStatusListener) - Method in class org.springframework.shell.event.AbstractShellStatusPublisher
 
removeShellStatusListener(ShellStatusListener) - Method in interface org.springframework.shell.event.ShellStatusProvider
Removes an existing status listener.
removeTrailingSeparator(String) - Static method in class org.springframework.shell.support.util.FileUtils
Removes any trailing File.separators from the given path
resetMessageTracking() - Static method in class org.springframework.shell.core.JLineLogHandler
 
resetOptionContext() - Static method in class org.springframework.shell.core.CliOptionContext
Resets the option context for the current thread.
resetSimpleParserContext() - Static method in class org.springframework.shell.core.CliSimpleParserContext
 
ROO_PROMPT - Static variable in class org.springframework.shell.core.AbstractShell
 
round(double, int) - Static method in class org.springframework.shell.support.util.MathUtils
 
run(String[]) - Method in class org.springframework.shell.Bootstrap
 
run() - Method in class org.springframework.shell.core.JLineShell
 

S

script(File, boolean) - Method in class org.springframework.shell.core.AbstractShell
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.shell.commands.HelpCommands
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.shell.core.JLineShellComponent
 
setDevelopmentMode(boolean) - Method in class org.springframework.shell.core.JLineShell
 
setDevelopmentMode(boolean) - Method in interface org.springframework.shell.core.Shell
Indicates the shell should switch into a lower-level development mode.
setHistorySize(int) - Method in class org.springframework.shell.core.JLineShell
 
setIncludeThreadName(boolean) - Static method in class org.springframework.shell.core.JLineLogHandler
 
setOptionContext(String) - Static method in class org.springframework.shell.core.CliOptionContext
Stores the given option context for the current thread.
setPrintBanner(boolean) - Method in class org.springframework.shell.core.JLineShellComponent
 
setPromptPath(String) - Method in class org.springframework.shell.core.AbstractShell
Base implementation of the Shell.setPromptPath(String) method, designed for simple shell implementations.
setPromptPath(String, boolean) - Method in class org.springframework.shell.core.AbstractShell
Default implementation of Shell#setPromptPath(String, boolean)) method to satisfy STS compatibility.
setPromptPath(String) - Method in class org.springframework.shell.core.JLineShell
 
setPromptPath(String, boolean) - Method in class org.springframework.shell.core.JLineShell
 
setPromptPath(String) - Method in interface org.springframework.shell.core.Shell
Changes the "path" displayed in the shell prompt.
setPromptPath(String, boolean) - Method in interface org.springframework.shell.core.Shell
 
setShellStatus(ShellStatus.Status) - Method in class org.springframework.shell.event.AbstractShellStatusPublisher
 
setShellStatus(ShellStatus.Status, String, ParseResult) - Method in class org.springframework.shell.event.AbstractShellStatusPublisher
 
setSimpleParserContext(SimpleParser) - Static method in class org.springframework.shell.core.CliSimpleParserContext
 
setSourceClassName(String) - Method in class org.springframework.shell.support.logging.LoggingOutputStream
 
setSuppressDuplicateMessages(boolean) - Static method in class org.springframework.shell.core.JLineLogHandler
 
setTargetHandler(Handler) - Method in class org.springframework.shell.support.logging.DeferredLogHandler
 
Shell - Interface in org.springframework.shell.core
Specifies the contract for an interactive shell.
shellPrompt - Static variable in class org.springframework.shell.core.AbstractShell
 
ShellPromptAccessor - Interface in org.springframework.shell.core
Obtains the prompt used by a Shell.
shellStatus - Variable in class org.springframework.shell.event.AbstractShellStatusPublisher
 
ShellStatus - Class in org.springframework.shell.event
Represents the different states that a shell can legally be in.
ShellStatus.Status - Enum in org.springframework.shell.event
 
ShellStatusListener - Interface in org.springframework.shell.event
Implemented by classes that wish to be notified of shell status changes.
shellStatusListeners - Variable in class org.springframework.shell.event.AbstractShellStatusPublisher
 
ShellStatusProvider - Interface in org.springframework.shell.event
Implemented by shells that support the publication of shell status changes.
ShortConverter - Class in org.springframework.shell.converters
Converter for Short.
ShortConverter() - Constructor for class org.springframework.shell.converters.ShortConverter
 
SimpleExecutionStrategy - Class in org.springframework.shell.core
Simple execution strategy for invoking a target method.
SimpleExecutionStrategy() - Constructor for class org.springframework.shell.core.SimpleExecutionStrategy
 
SimpleFileConverter - Class in org.springframework.shell.converters
 
SimpleFileConverter() - Constructor for class org.springframework.shell.converters.SimpleFileConverter
 
SimpleParser - Class in org.springframework.shell.core
Default implementation of Parser.
SimpleParser() - Constructor for class org.springframework.shell.core.SimpleParser
 
SimpleShellCommandLineOptions - Class in org.springframework.shell
Used to pass in command line options to customize the shell on launch
SimpleShellCommandLineOptions() - Constructor for class org.springframework.shell.SimpleShellCommandLineOptions
 
start() - Method in class org.springframework.shell.core.JLineShellComponent
 
StaticFieldConverter - Interface in org.springframework.shell.converters
Interface for adding and removing classes that provide static fields which should be made available via a Converter.
StaticFieldConverterImpl - Class in org.springframework.shell.converters
A simple Converter for those classes which provide public static fields to represent possible textual values.
StaticFieldConverterImpl() - Constructor for class org.springframework.shell.converters.StaticFieldConverterImpl
 
statusListener - Variable in class org.springframework.shell.core.JLineShell
 
stop() - Method in class org.springframework.shell.core.JLineShellComponent
 
StringConverter - Class in org.springframework.shell.converters
Converter for String.
StringConverter() - Constructor for class org.springframework.shell.converters.StringConverter
 
stringify(E) - Method in class org.springframework.shell.support.util.NaturalOrderComparator
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.AvailableCommandsConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.BigDecimalConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.BigIntegerConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.BooleanConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.CharacterConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.DateConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.DoubleConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.EnumConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.FileConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.FloatConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.IntegerConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.LocaleConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.LongConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.ShortConverter
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.StaticFieldConverterImpl
 
supports(Class<?>, String) - Method in class org.springframework.shell.converters.StringConverter
 
supports(Class<?>, String) - Method in interface org.springframework.shell.core.Converter
Indicates whether this converter supports the given type in the given option context

T

terminate() - Method in interface org.springframework.shell.core.ExecutionStrategy
Indicates the execution runtime should be terminated.
terminate() - Method in class org.springframework.shell.core.SimpleExecutionStrategy
 
tokenize(String) - Static method in class org.springframework.shell.core.ParserUtils
Converts a particular buffer into a tokenized structure.
toString() - Method in class org.springframework.shell.core.Completion
 
toString() - Method in class org.springframework.shell.core.MethodTarget
 
toString() - Method in class org.springframework.shell.event.ParseResult
 

V

valueOf(String) - Static method in enum org.springframework.shell.event.ShellStatus.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.shell.support.util.AnsiEscapeCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.shell.event.ShellStatus.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.shell.support.util.AnsiEscapeCode
Returns an array containing the constants of this enum type, in the order they are declared.
version(String) - Method in class org.springframework.shell.core.AbstractShell
 
versionInfo() - Method in class org.springframework.shell.core.AbstractShell
 
versionInfo() - Static method in class org.springframework.shell.support.util.VersionUtils
Returns the full version string of the present Spring Shell codebase, or null if it cannot be determined.
VersionUtils - Class in org.springframework.shell.support.util
 
VersionUtils() - Constructor for class org.springframework.shell.support.util.VersionUtils
 

W

waitForComplete() - Method in class org.springframework.shell.core.JLineShellComponent
wait the shell command to complete by typing "quit" or "exit"
WINDOW_TITLE_SLOT - Static variable in interface org.springframework.shell.core.Shell
The slot name to use with Shell.flash(Level, String, String) if a caller wishes to modify the window title.
wrapWithDeferredLogHandler(Logger, Level) - Static method in class org.springframework.shell.support.logging.HandlerUtils
Replaces each Handler defined against the presented Logger with DeferredLogHandler.
write(int) - Method in class org.springframework.shell.support.logging.LoggingOutputStream
 

A B C D E F G H I J L M N O P Q R S T V W