|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CycleBehavior>
com.kuka.roboticsAPI.applicationModel.tasks.CycleBehavior
public enum CycleBehavior
Defines the behavior of a cyclic task if the execution of a cyclic method takes longer than the specified period of time.
| Enum Constant Summary | |
|---|---|
BestEffort
Tries to hold the period time. |
|
Strict
Does not tolerate if the execution of a called method takes longer than the given period time. |
|
| Method Summary | |
|---|---|
static CycleBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CycleBehavior[] |
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 CycleBehavior Strict
CycleExceededException is thrown and the cyclic task is terminated.
public static final CycleBehavior BestEffort
RoboticsAPICyclicBackgroundTask.runCyclic() takes longer than that
time, the next call will take place immediately after the previous has returned.
| Method Detail |
|---|
public static CycleBehavior[] values()
for (CycleBehavior c : CycleBehavior.values()) System.out.println(c);
public static CycleBehavior 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||