public final enum

LeverStatus

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.cradle.LeverStatus

Class Overview

Enumerative representing the Cradle Lever status.

Summary

Enum Values
LeverStatus  LEVER_STATUS_CLOSE  Cradle lever close. 
LeverStatus  LEVER_STATUS_NOT_SUPPORTED  Cradle lever not supported. 
LeverStatus  LEVER_STATUS_OPEN  Cradle lever open. 
LeverStatus  LEVER_STATUS_UNKNOWN  Unknown Cradle lever status. 
Public Methods
static LeverStatus fromInt(int n)
Retrieves the corresponding LeverStatus value, from a valid integer.
int toInt()
Converts the LeverStatus enum to its integer representing value.
String toString()
static LeverStatus valueOf(String name)
final static LeverStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final LeverStatus LEVER_STATUS_CLOSE

Added in revision 24

Cradle lever close.

public static final LeverStatus LEVER_STATUS_NOT_SUPPORTED

Added in revision 24

Cradle lever not supported.

public static final LeverStatus LEVER_STATUS_OPEN

Added in revision 24

Cradle lever open.

public static final LeverStatus LEVER_STATUS_UNKNOWN

Added in revision 24

Unknown Cradle lever status.

Public Methods

public static LeverStatus fromInt (int n)

Added in revision 24

Retrieves the corresponding LeverStatus value, from a valid integer.

Parameters
n int
Returns
  • LeverStatus the corresponding one.

public int toInt ()

Added in revision 24

Converts the LeverStatus enum to its integer representing value.

Returns
  • int

public String toString ()

public static LeverStatus valueOf (String name)

Added in revision 24

public static final LeverStatus[] values ()

Added in revision 24