|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.building.command.parameters.AbstractOfficeFloorCommandParameter
net.officefloor.building.command.parameters.AbstractSingleValueOfficeFloorCommandParameter
public abstract class AbstractSingleValueOfficeFloorCommandParameter
OfficeFloorCommandParameter that provides only the first value
specified.
| Constructor Summary | |
|---|---|
AbstractSingleValueOfficeFloorCommandParameter(String name,
String shortName,
String description)
Initiate. |
|
| Method Summary | |
|---|---|
void |
addValue(String value)
Adds a value for this parameter. |
protected String |
getValue()
Obtains the value for this parameter. |
| Methods inherited from class net.officefloor.building.command.parameters.AbstractOfficeFloorCommandParameter |
|---|
getDescription, getName, getShortName, isRequireValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSingleValueOfficeFloorCommandParameter(String name,
String shortName,
String description)
name - Name.shortName - Short name.description - Description.| Method Detail |
|---|
protected String getValue()
public void addValue(String value)
OfficeFloorCommandParameterAdds 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||