|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OfficeFloorCommandParameter
Command parameter for an OfficeFloorCommand.
| Method Summary | |
|---|---|
void |
addValue(String value)
Adds a value for this parameter. |
String |
getDescription()
Obtains a description for this OfficeFloorCommandParameter. |
String |
getName()
Obtains the name of this OfficeFloorCommandParameter. |
String |
getShortName()
Provides an optional short name for easier typing. |
boolean |
isRequireValue()
Flags if this OfficeFloorCommandParameter requires a value. |
| Method Detail |
|---|
String getName()
Obtains the name of this OfficeFloorCommandParameter.
This would be for example help for help.
String getShortName()
Provides an optional short name for easier typing.
This would be for example h for help.
null if no short name.String getDescription()
OfficeFloorCommandParameter.
OfficeFloorCommandParameter.boolean isRequireValue()
Flags if this OfficeFloorCommandParameter requires a value.
Should this return false then addValue(String) will
be invoked with a null value. Also the
OfficeFloorCommandParser will not expect a value following the
option.
true if requires value.void addValue(String value)
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.isRequireValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||