public class IfsChangeDirectoryCommand extends IfsCommand
Command specification for IfsChangeDirectoryCommand
Inputs:
Constructor and Description |
---|
IfsChangeDirectoryCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invokation.
|
protected void |
execute(ChangeDirectoryContext state)
Execute a CookieCommandState.
|
protected void |
execute(CommandContext state)
Execute a CommandContext.
|
populateNestedCommands, postExecute, preExecute, run
public IfsChangeDirectoryCommand()
protected void execute(CommandContext state) throws IfsException
execute
in class IfsCommand
state
- the command context.IfsException
- if execution failsprotected void execute(ChangeDirectoryContext state) throws IfsException
IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
CommandContext
.IfsException
CommandContext
Copyright © 2023. All rights reserved.