public abstract class AbstractSingleValueOfficeFloorCommandParameter extends AbstractOfficeFloorCommandParameter
OfficeFloorCommandParameter
that provides only the first value
specified.Constructor and Description |
---|
AbstractSingleValueOfficeFloorCommandParameter(String name,
String shortName,
String description)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(String value)
Adds a value for this parameter.
|
protected String |
getValue()
Obtains the value for this parameter.
|
getDescription, getName, getShortName, isRequireValue
protected String getValue()
public void addValue(String value)
OfficeFloorCommandParameter
Adds a value for this parameter.
Typically this should only be invoked once however is available to allow
values to be provided multiple times (e.g. in the case of a
OfficeFloor
tag replacement).
value
- Value for this argument.OfficeFloorCommandParameter.isRequireValue()
Copyright © 2005–2016. All rights reserved.