public class CupModeCommand extends IfsCommand
Modifier and Type | Field and Description |
---|---|
static int |
ADMIN_MODE |
static int |
CHARACTER_ENCODING_MODE |
static int |
DATE_FORMAT_MODE |
static int |
DEFAULT_ACL_MODE |
static int |
DELIMITER_MODE |
static int |
LANGUAGE_MODE |
static int |
PARSE_MODE |
static int |
UNKNOWN_MODE |
Constructor and Description |
---|
CupModeCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invokation.
|
void |
execute(CommandContext state)
Execute a CommandState.
|
void |
execute(CupModeContext state)
Execute a CupModeContext.
|
populateNestedCommands, postExecute, preExecute, run
public static final int UNKNOWN_MODE
public static final int PARSE_MODE
public static final int DEFAULT_ACL_MODE
public static final int DATE_FORMAT_MODE
public static final int LANGUAGE_MODE
public static final int CHARACTER_ENCODING_MODE
public static final int DELIMITER_MODE
public static final int ADMIN_MODE
public void execute(CommandContext state) throws IfsException
execute
in class IfsCommand
state
- the command context.IfsException
- if execution failspublic void execute(CupModeContext 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.