public class PasswordArgs extends Object implements ArgsConfiguration
Modifier and Type | Field and Description |
---|---|
Argument |
environmentVariableArgument |
Argument |
passwordArgument |
Constructor and Description |
---|
PasswordArgs(String title) |
Modifier and Type | Method and Description |
---|---|
void |
addArguments(ArgumentParser parser)
Deprecated.
|
void |
finalizeArguments() |
String |
getPassword() |
char[] |
getPasswordCharArray() |
void |
setFromNamespace(Namespace namespace)
Sets configuration values from a parsed
Namespace |
public Argument passwordArgument
public Argument environmentVariableArgument
public PasswordArgs(String title)
public String getPassword()
public char[] getPasswordCharArray()
@Deprecated public void addArguments(ArgumentParser parser)
ArgsConfiguration
ArgsConfiguration
to an
ArgumentParser
addArguments
in interface ArgsConfiguration
parser
- argument parser to add arguments topublic void finalizeArguments()
public void setFromNamespace(Namespace namespace)
ArgsConfiguration
Namespace
setFromNamespace
in interface ArgsConfiguration
namespace
- the namespace with the argument valuesCopyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.