public class CupRmRefArgumentTranslator extends CommandlineArgumentTranslator
CMDKEY
Constructor and Description |
---|
CupRmRefArgumentTranslator() |
Modifier and Type | Method and Description |
---|---|
protected void |
handlePositional(int pos,
String positional,
CommandContext state,
Hashtable tState)
Handles the positional arguments that cup uses during the RmRef command.
|
protected void |
initialize(CommandContext state,
Object invoker,
Hashtable tState)
Base implemtation does nothing
|
protected void |
postParse(CommandContext state,
Object invoker,
Hashtable tState)
Converts the source and destination paths provided in arguments
to object instances.
|
getPotentialArgs, getPotentialFlags, handleFlag, parse, translate
protected void initialize(CommandContext state, Object invoker, Hashtable tState) throws IfsException
CommandlineArgumentTranslator
initialize
in class CommandlineArgumentTranslator
IfsException
protected void postParse(CommandContext state, Object invoker, Hashtable tState) throws IfsException
postParse
in class CommandlineArgumentTranslator
state
- instance of command contextinvoker
- invoker of the command; Generally a subclass of IfsServerChannel.IfsException
- if the operation fails.protected void handlePositional(int pos, String positional, CommandContext state, Hashtable tState) throws IfsException
handlePositional
in class CommandlineArgumentTranslator
pos
- position of the argumentpositional
- string corresponding to the positionstate
- instance of CommandContextIfsException
- if the operation fails.Copyright © 2023. All rights reserved.