|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<ConfigType>
cz.cuni.amis.pogamut.usar2004.agent.module.datatypes.ConfigType
public enum ConfigType
List of all Robot config Types. Each type can possibly represent more kinds of config of same type. For each enum record, there exists relevant Class which can be returned on demand.
| Enum Constant Summary | |
|---|---|
AERIAL_VEHICLE
|
|
EFFECTER
|
|
GROUND_VEHICLE
|
|
LEGGED_ROBOT
|
|
MISSION_PACKAGE
|
|
NAUTIC_VEHICLE
|
|
SENSOR
|
|
| Method Summary | |
|---|---|
Class |
getModuleClass()
Notice that this method is not static. |
static ConfigType |
getType(String type)
For each config type it checks if type matches one of kinds. |
static ConfigType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConfigType[] |
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 ConfigType GROUND_VEHICLE
public static final ConfigType LEGGED_ROBOT
public static final ConfigType NAUTIC_VEHICLE
public static final ConfigType AERIAL_VEHICLE
public static final ConfigType SENSOR
public static final ConfigType EFFECTER
public static final ConfigType MISSION_PACKAGE
| Method Detail |
|---|
public static ConfigType[] values()
for (ConfigType c : ConfigType.values()) System.out.println(c);
public static ConfigType 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 nullpublic static ConfigType getType(String type)
type - String representation or kind of Config
public Class getModuleClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||