com.kuka.nav.fleet
Enum ConflictState

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

public enum ConflictState
extends Enum<ConflictState>

Represents the state of the corresponding Conflict.

The following state changes are possible:


Enum Constant Summary
CREATED
          The conflict exists, but is not "active" yet, i.e. the delayed robot Conflict.getDelayedRobot() is still executing plan steps before Conflict.getDelayedRobotPlanStep().
RESOLVED
          The conflict is resolved, i.e. the passing robot Conflict.getPassingRobot() reached plan step Conflict.getPassingRobotPlanStep() and thus the delayed robot is allowed to continue.
WAITING
          The delayed robot Conflict.getDelayedRobot() is waiting at the node of plan step Conflict.getDelayedRobotPlanStep() for the passing robot Conflict.getPassingRobot() to finish plan step Conflict.getPassingRobotPlanStep().
 
Method Summary
static ConflictState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConflictState[] 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

CREATED

public static final ConflictState CREATED
The conflict exists, but is not "active" yet, i.e. the delayed robot Conflict.getDelayedRobot() is still executing plan steps before Conflict.getDelayedRobotPlanStep().


WAITING

public static final ConflictState WAITING
The delayed robot Conflict.getDelayedRobot() is waiting at the node of plan step Conflict.getDelayedRobotPlanStep() for the passing robot Conflict.getPassingRobot() to finish plan step Conflict.getPassingRobotPlanStep().


RESOLVED

public static final ConflictState RESOLVED
The conflict is resolved, i.e. the passing robot Conflict.getPassingRobot() reached plan step Conflict.getPassingRobotPlanStep() and thus the delayed robot is allowed to continue.

Method Detail

values

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

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

valueOf

public static ConflictState 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.