|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DaqCmdParamOption
Option parameters which have a flag and a number of values afterwards should implement this class too.
| Nested Class Summary | |
|---|---|
static class |
DaqCmdParamOption.Type
|
| Method Summary | |
|---|---|
DaqCmdParamOption.Type |
getOptType()
Returns one of the bytes in this interface defining what type of option value is expected. |
boolean |
oneOptOnly()
Returns true if this parameter may only have one option value, so the length of the array passed to setOptValue may be no longer than one. |
void |
setOptValues(java.lang.String[] val)
Set the option values to be appended to the initial parameter flag. |
| Methods inherited from interface uk.ac.imperial.ph.hep.command.DaqCmdParam |
|---|
getDescription, getExecString, isEnabled, isUnaltered, reset, setEnabled, setOff, setOn |
| Method Detail |
|---|
void setOptValues(java.lang.String[] val)
throws DaqBadParameterException
val -
DaqBadParameterExceptionDaqCmdParamOption.Type getOptType()
boolean oneOptOnly()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||