com.kuka.nav.fleet.actions
Enum NodeActionExecutionType

java.lang.Object
  extended by java.lang.Enum<NodeActionExecutionType>
      extended by com.kuka.nav.fleet.actions.NodeActionExecutionType
All Implemented Interfaces:
Serializable, Comparable<NodeActionExecutionType>

public enum NodeActionExecutionType
extends Enum<NodeActionExecutionType>

Enumeration defining the possible execution types specifying when a CustomNodeAction is executed with regard to the TopologyNode for which the action is defined.

The following execution types are defined:


Enum Constant Summary
LEAVE
          Indicates that the TopologyNode's CustomNodeAction will be executed before a robot leaves from the node in order to move to a different node.
REACH
          Indicates that the TopologyNode's CustomNodeAction will be executed after a robot arrives at the node from a different node.
 
Method Summary
static NodeActionExecutionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeActionExecutionType[] 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

REACH

public static final NodeActionExecutionType REACH
Indicates that the TopologyNode's CustomNodeAction will be executed after a robot arrives at the node from a different node. In particular, if the robot must perform a rotation at the node furnished with the action then the action is executed before the rotation.

Note that in the special case that the robot's path starts at the node this execution type indicates that the corresponding custom node action will be the first step in the robots path followed by the possible next steps in the plan.


LEAVE

public static final NodeActionExecutionType LEAVE
Indicates that the TopologyNode's CustomNodeAction will be executed before a robot leaves from the node in order to move to a different node. In particular, if the robot must perform a rotation at the node furnished with the action then the rotation is executed before the action.

Note that in the special case that the robot's path ends at the node this execution type indicates that the corresponding custom node action will be the last step in the robots path.

Method Detail

values

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

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

valueOf

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


Copyright © 2019. All rights reserved.