public interface CmdLineOptionHandler
CmdLineOption's values in relation to given
CmdLineActions.| Modifier and Type | Method and Description |
|---|---|
String |
getArgDescription(CmdLineAction action,
CmdLineOption option)
If this handler causes the argument descriptor to be different for
certain
CmdLineActions, then should return the arg
description here. |
String |
getHelp(CmdLineOption option)
Gets the
CmdLineOptionHandlers help message when associated with
given CmdLineOption. |
void |
handleOption(CmdLineAction selectedAction,
CmdLineOptionInstance optionInstance) |
void |
initialize(CmdLineOption option)
Called after handler construction to allow handler to setup
state before it is required to handle the option later.
|
void initialize(CmdLineOption option)
void handleOption(CmdLineAction selectedAction, CmdLineOptionInstance optionInstance)
String getHelp(CmdLineOption option)
CmdLineOptionHandlers help message when associated with
given CmdLineOption.option - The CmdLineOption to which this
CmdLineOptionHandler was associated withCmdLineOptionHandlerString getArgDescription(CmdLineAction action, CmdLineOption option)
CmdLineActions, then should return the arg
description here.Copyright © 1999–2017 Apache OODT. All rights reserved.