com.kuka.roboticsAPI
Class RoboticsAPIDefaults

java.lang.Object
  extended by com.kuka.roboticsAPI.RoboticsAPIDefaults

public final class RoboticsAPIDefaults
extends Object

Holds some changeable default values of the RoboticsAPI.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Method Summary
static void dumpValues()
          Dumps the current default values to the console.
static Object getOptionalParameter(String name, Object defaultValue)
          Gets a optional default value.
static Object getRequiredParameter(String name)
          Gets a required default value.
static void set(String name, Object value)
          Sets a default value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

set

public static void set(String name,
                       Object value)
Sets a default value.

Changes to the defaults should occur immediately after the application has started. All classes using these default values may request the value only once.

Parameters:
name - The name of the value.
value - The value.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getOptionalParameter

public static Object getOptionalParameter(String name,
                                          Object defaultValue)
Gets a optional default value.

Parameters:
name - The name of the value.
defaultValue - The default value which should be returned if no value is set.
Returns:
The default value.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getRequiredParameter

public static Object getRequiredParameter(String name)
Gets a required default value. Fails if the value is not present.

Parameters:
name - The name of the value.
Returns:
The default value.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

dumpValues

public static void dumpValues()
Dumps the current default values to the console.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.