public class SetJavaPropertiesHandler extends Object implements CmdLineOptionHandler
CmdLineOptionHandler which sets Java Properties equals to the
values specified by the CmdLineOption this handler is attached
to.| Constructor and Description |
|---|
SetJavaPropertiesHandler() |
| 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. |
List<String> |
getPropertyNames() |
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 |
setPropertyNames(List<String> propertyNames) |
public void initialize(CmdLineOption option)
CmdLineOptionHandlerinitialize in interface CmdLineOptionHandlerpublic void handleOption(CmdLineAction selectedAction, CmdLineOptionInstance optionInstance)
handleOption in interface CmdLineOptionHandlerpublic String getHelp(CmdLineOption option)
CmdLineOptionHandlerCmdLineOptionHandlers help message when associated with
given CmdLineOption.getHelp in interface CmdLineOptionHandleroption - The CmdLineOption to which this
CmdLineOptionHandler was associated withCmdLineOptionHandlerpublic String getArgDescription(CmdLineAction action, CmdLineOption option)
CmdLineOptionHandlerCmdLineActions, then should return the arg
description here.getArgDescription in interface CmdLineOptionHandlerCopyright © 1999–2017 Apache OODT. All rights reserved.