public class IfsCatCommand extends IfsCommand
Command specification for IfsCatCommand
Inputs:
IfsCommand| Constructor and Description |
|---|
IfsCatCommand()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CatContext context)
Execute a CatContext
|
protected void |
execute(CommandContext context)
Execute a CommandContext
|
protected void |
executeRenderAsReader(CatContext cc) |
protected void |
executeRenderAsStream(CatContext cc) |
protected IfsRenderAsReaderCommand |
getReaderCommand() |
protected IfsRenderAsStreamCommand |
getStreamCommand() |
void |
populateNestedCommands(CommandInvoker commandInvoker)
Populate all the needed nested commands.
|
postExecute, preExecute, runpublic CommandContext createCommandContext() throws IfsException
createCommandContext in interface CommandcreateCommandContext in class IfsCommandCommandContext.IfsExceptionCommandContextpublic void populateNestedCommands(CommandInvoker commandInvoker) throws IfsException
IfsCommand
CommandInvoker is not guaranteed to exist for the lifetime of
the command. Therefore, the command should not keep a reference to the
command invoker and it should acquire all the references to the needed
commands in this call-back method.
populateNestedCommands in interface CommandpopulateNestedCommands in class IfsCommandcommandInvoker - The CommandInvoker object that can be
used to acquire references to the needed
sub-commands.IfsException - If there is any exception thrown.CommandInvokerprotected void execute(CommandContext context) throws IfsException
execute in class IfsCommandcontext - the command context.IfsException - if execution failsprotected void execute(CatContext context) throws IfsException
context - the command context.IfsException - if execution failsprotected IfsRenderAsReaderCommand getReaderCommand() throws IfsException
IfsExceptionprotected IfsRenderAsStreamCommand getStreamCommand() throws IfsException
IfsExceptionprotected void executeRenderAsReader(CatContext cc) throws IfsException
IfsExceptionprotected void executeRenderAsStream(CatContext cc) throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.