|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MartinNavigator.Stage> cz.cuni.amis.pogamut.udk.agent.navigation.martinnavigator.MartinNavigator.Stage
public static enum MartinNavigator.Stage
All stages the navigation can come to.
Enum Constant Summary | |
---|---|
COMPLETED
Navigation finished successfully. |
|
CRASHED
Navigation failed because of troublesome obstacles. |
|
NAVIGATING
Navigating along the path. |
|
REACHING
Running directly to the destination. |
Field Summary | |
---|---|
boolean |
failure
Whether the navigation has failed. |
boolean |
terminated
Whether the nagivation is terminated. |
Method Summary | |
---|---|
protected abstract MartinNavigator.Stage |
next()
Retreives the next step of navigation sequence the stage belongs to. |
static MartinNavigator.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MartinNavigator.Stage[] |
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 |
---|
public static final MartinNavigator.Stage REACHING
public static final MartinNavigator.Stage NAVIGATING
public static final MartinNavigator.Stage CRASHED
public static final MartinNavigator.Stage COMPLETED
Field Detail |
---|
public boolean terminated
public boolean failure
Method Detail |
---|
public static MartinNavigator.Stage[] values()
for (MartinNavigator.Stage c : MartinNavigator.Stage.values()) System.out.println(c);
public static MartinNavigator.Stage valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullprotected abstract MartinNavigator.Stage next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |