com.kuka.roboticsAPI.deviceModel
Enum ToolOffsetValidity

java.lang.Object
  extended by java.lang.Enum<ToolOffsetValidity>
      extended by com.kuka.roboticsAPI.deviceModel.ToolOffsetValidity
All Implemented Interfaces:
Serializable, Comparable<ToolOffsetValidity>

public enum ToolOffsetValidity
extends Enum<ToolOffsetValidity>

The validity of a learned tool offset.


Enum Constant Summary
CRITICAL
          Tool offset has been learned but value could be wrong.
ILLEGAL
          Tool offset has not been learned.
NORMAL
          Tool offset has been learned and everything is ok.
 
Method Summary
static ToolOffsetValidity valueOf(int validity)
          Returns the ToolOffsetValidity representation of the tool offset validity state given as integer.
static ToolOffsetValidity valueOf(String name)
          Returns the enum constant of this type with the specified name.
static int valueOf(ToolOffsetValidity validity)
          Return the int representation of the given ToolOffsetValidity.
static ToolOffsetValidity[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ILLEGAL

public static final ToolOffsetValidity ILLEGAL
Tool offset has not been learned.


NORMAL

public static final ToolOffsetValidity NORMAL
Tool offset has been learned and everything is ok.


CRITICAL

public static final ToolOffsetValidity CRITICAL
Tool offset has been learned but value could be wrong.

Method Detail

values

public static ToolOffsetValidity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ToolOffsetValidity c : ToolOffsetValidity.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ToolOffsetValidity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static ToolOffsetValidity valueOf(int validity)
Returns the ToolOffsetValidity representation of the tool offset validity state given as integer.

Parameters:
validity - the tool offset validity state given as integer.
Returns:
ToolOffsetValidity representation of the validity state given as integer.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

valueOf

public static int valueOf(ToolOffsetValidity validity)
Return the int representation of the given ToolOffsetValidity.

Parameters:
validity - The given ToolOffsetValidity.
Returns:
Returns int representation of the given ToolOffsetValidity.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.