com.kuka.nav.lift
Enum LiftState

java.lang.Object
  extended by java.lang.Enum<LiftState>
      extended by com.kuka.nav.lift.LiftState
All Implemented Interfaces:
Serializable, Comparable<LiftState>

public enum LiftState
extends Enum<LiftState>

Enumeration to represent the lift state as a traffic light.


Enum Constant Summary
ERROR
          There is an error present and the lift cannot execute motions.
UNKNOWN
          The state could not be decoded from the base system or has not been updated.
WARNING
          There is a warning present or lift motions are not executable at the moment.
WORKING
          The lift is in the condition to execute motions.
 
Method Summary
 String getDisplayName()
           
static LiftState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LiftState[] 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

WORKING

public static final LiftState WORKING
The lift is in the condition to execute motions.


WARNING

public static final LiftState WARNING
There is a warning present or lift motions are not executable at the moment.


ERROR

public static final LiftState ERROR
There is an error present and the lift cannot execute motions.


UNKNOWN

public static final LiftState UNKNOWN
The state could not be decoded from the base system or has not been updated.

Method Detail

values

public static LiftState[] 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 (LiftState c : LiftState.values())
    System.out.println(c);

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

valueOf

public static LiftState 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

getDisplayName

public String getDisplayName()
Returns:
a language dependent display name for this state


Copyright © 2019. All rights reserved.