public class CupAddRefArgumentTranslator extends CupArgumentTranslator
FLAG_CLASS, FLAG_ID, FLAG_PATH, FLAG_SYSTEMACL, FLAG_USER, FLAG_VALUEDEFAULT, PARAMETER_FLAGKEY, PARAMETER_FLAGVALUE, PARAMETER_POSITIONALCMDKEY| Constructor and Description |
|---|
CupAddRefArgumentTranslator() |
| 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 AddRef 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, resolveObjectparse, translateprotected void initialize(CommandContext state, Object invoker, Hashtable tState) throws IfsException
initialize in class CupArgumentTranslatorstate - instance of command contextinvoker - invoker of the command; Generally a subclass of IfsServerChanneltState - hashtable used to store flagsIfsException - if the operation failsprotected void postParse(CommandContext state, Object invoker, Hashtable tState) throws IfsException
postParse in class CommandlineArgumentTranslatorstate - 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 CupArgumentTranslatorpos - position of the argumentpositional - string corresponding to the positionstate - instance of CommandContexttState - hashtable used to store flagsIfsException - if the operation fails.Copyright © 2025. All rights reserved.