Package xal.smf.impl
Enum Class WireHarp.CMD
- All Implemented Interfaces:
Serializable
,Comparable<WireHarp.CMD>
,Constable
- Enclosing class:
- WireHarp
Wire Scanner Commands
The commands below represent the possible values for the first argument in the command array. It provides the command type while additional arguments provide the command parameters.
- Since:
- Aug 21, 2009
- Author:
- Christopher K. Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AccessibleProperty
final AccessibleProperty
static final String
Command-issuing handlestatic final String
command result handle -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Returns the integer-value device command associated with the command enumeration constant.static WireHarp.CMD
Returns the enum constant of this class with the specified name.static WireHarp.CMD[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOOP
No operation -
BASELINE
Take a new baseline measurement -
SECRET
The secret command
-
-
Field Details
-
HANDLE_CMD
Command-issuing handle- See Also:
-
command
-
HANDLE_RESULT
command result handle- See Also:
-
cmdResult
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()Returns the integer-value device command associated with the command enumeration constant.- Returns:
- device command for constant
- Since:
- Aug 21, 2009
-