public abstract class RepeatableConfigVariable extends BaseConfigVariable
add
method.spec
Modifier | Constructor and Description |
---|---|
protected |
RepeatableConfigVariable(OptionSpec spec)
Creates a
RepeatableConfigVariable instance with the specified OpitonSpec . |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(String value)
Adds
value as a value to this RepeatableConfigVariable . |
void |
addAll(String[] values)
Adds every String in
values as a value of this RepeatableConfigVariable by calling the add method with each String as an argument. |
addToCommandline, getSpec, matches
protected RepeatableConfigVariable(OptionSpec spec)
RepeatableConfigVariable
instance with the specified OpitonSpec
.public abstract void add(String value)
value
as a value to this RepeatableConfigVariable
.value
- the value to this RepeatableConfigVariable
public void addAll(String[] values)
values
as a value of this RepeatableConfigVariable
by calling the add
method with each String as an argument.values
- an array of StringsCopyright © 2016 The Apache Software Foundation. All rights reserved.