|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BrakeState>
com.kuka.roboticsAPI.controllerModel.sunrise.brakeTest.BrakeState
public enum BrakeState
The brake test of a single drive can result in one of the following states.
| Enum Constant Summary | |
|---|---|
BRAKE_ERROR
The brake test failed. |
|
BRAKE_EXCESSIVE
The measured brake holding torque exceeds the allowed maximum. |
|
BRAKE_MAX_UNKNOWN
The brake test was successful. |
|
BRAKE_READY
The brake test was successful. |
|
BRAKE_UNKNOWN
The brake test couldn't be executed or was aborted. |
|
BRAKE_UNTESTED
The brake test was not executed yet. |
|
BRAKE_WARNING
The brake test was successful. |
|
| Method Summary | |
|---|---|
static BrakeState |
fromInteger(int state)
Validates and converts an integer value into a State. |
abstract LogLevel |
getLogLevel()
Returns the logging level, which belongs to the state. |
int |
toInt()
Converts the enumeration into an integer value. |
abstract String |
toString()
|
static BrakeState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BrakeState[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BrakeState BRAKE_UNTESTED
public static final BrakeState BRAKE_UNKNOWN
public static final BrakeState BRAKE_ERROR
public static final BrakeState BRAKE_WARNING
public static final BrakeState BRAKE_MAX_UNKNOWN
public static final BrakeState BRAKE_EXCESSIVE
public static final BrakeState BRAKE_READY
| Method Detail |
|---|
public static BrakeState[] values()
for (BrakeState c : BrakeState.values()) System.out.println(c);
public static BrakeState 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 BrakeState fromInteger(int state)
state - is the state, which has to be validated
public abstract LogLevel getLogLevel()
public int toInt()
public abstract String toString()
toString in class Enum<BrakeState>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||