cz.cuni.pogamut.Client
Enum PathManager.RunResult

java.lang.Object
  extended by java.lang.Enum<PathManager.RunResult>
      extended by cz.cuni.pogamut.Client.PathManager.RunResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PathManager.RunResult>
Enclosing class:
PathManager

public static enum PathManager.RunResult
extends java.lang.Enum<PathManager.RunResult>

Result of the runAlongPath.


Enum Constant Summary
PATH_BROKEN
          Path is broken - something is screwed, path manager restarted.
PATH_ENDED
          Bot has reached the end of the path, path manager restarted.
RUNNING_ALONG
          All is OK, bot is running along the path.
 
Method Summary
static PathManager.RunResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PathManager.RunResult[] 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

RUNNING_ALONG

public static final PathManager.RunResult RUNNING_ALONG
All is OK, bot is running along the path.


PATH_ENDED

public static final PathManager.RunResult PATH_ENDED
Bot has reached the end of the path, path manager restarted.


PATH_BROKEN

public static final PathManager.RunResult PATH_BROKEN
Path is broken - something is screwed, path manager restarted.

Method Detail

values

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

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

valueOf

public static PathManager.RunResult valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null