public final enum

FailurePolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.FailurePolicy

Class Overview

Enumerative representing the Policy to show Cradle failures.

Summary

Enum Values
FailurePolicy  FAILURE_POLICY_DISABLED  Failure notification feature is DISABLED. 
FailurePolicy  FAILURE_POLICY_ENABLED  Failure notification feature is ENABLED. 
FailurePolicy  FAILURE_POLICY_NOT_SUPPORTED  Failure policy not supported. 
FailurePolicy  FAILURE_POLICY_UNKNOWN  Unknown failure policy. 
Public Methods
static FailurePolicy fromInt(int n)
Retrieves the corresponding FailurePolicy value, from a valid integer.
int toInt()
Converts the FailurePolicy enum to its integer representing value.
static FailurePolicy valueOf(String name)
final static FailurePolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final FailurePolicy FAILURE_POLICY_DISABLED

Added in revision 32

Failure notification feature is DISABLED.

public static final FailurePolicy FAILURE_POLICY_ENABLED

Added in revision 32

Failure notification feature is ENABLED.

public static final FailurePolicy FAILURE_POLICY_NOT_SUPPORTED

Added in revision 32

Failure policy not supported.

public static final FailurePolicy FAILURE_POLICY_UNKNOWN

Added in revision 32

Unknown failure policy.

Public Methods

public static FailurePolicy fromInt (int n)

Added in revision 32

Retrieves the corresponding FailurePolicy value, from a valid integer.

Parameters
n int
Returns
  • Type the corresponding one.

public int toInt ()

Added in revision 32

Converts the FailurePolicy enum to its integer representing value.

Returns
  • int

public static FailurePolicy valueOf (String name)

Added in revision 32

public static final FailurePolicy[] values ()

Added in revision 32