com.kuka.roboticsAPI.capabilities.ledStrip
Enum LEDStripUserStatePriority

java.lang.Object
  extended by java.lang.Enum<LEDStripUserStatePriority>
      extended by com.kuka.roboticsAPI.capabilities.ledStrip.LEDStripUserStatePriority
All Implemented Interfaces:
Serializable, Comparable<LEDStripUserStatePriority>

public enum LEDStripUserStatePriority
extends Enum<LEDStripUserStatePriority>

Enum representing LED strip effect priorities.


Enum Constant Summary
CHARGING
          Charging priority.
IDLE
          IDLE priority is the lowest.
USER
          User priority.
 
Method Summary
 int getValue()
          Gets the integer value of the priority.
static LEDStripUserStatePriority valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LEDStripUserStatePriority[] 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

USER

public static final LEDStripUserStatePriority USER
User priority.


CHARGING

public static final LEDStripUserStatePriority CHARGING
Charging priority.


IDLE

public static final LEDStripUserStatePriority IDLE
IDLE priority is the lowest.

Method Detail

values

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

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

valueOf

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

getValue

public int getValue()
Gets the integer value of the priority. The lower the number, the higher the priority is.

Returns:
The priority.


Copyright © 2019. All rights reserved.