com.kuka.roboticsAPI.annotations
Class AutomaticResumeManager

java.lang.Object
  extended by com.kuka.roboticsAPI.annotations.AutomaticResumeManager
All Implemented Interfaces:
IAutomaticResumeFunction

public class AutomaticResumeManager
extends Object
implements IAutomaticResumeFunction

Using this class the user can switch on and off the automatic application resume function.


Constructor Summary
AutomaticResumeManager()
          Default constructor for the resume manager.
 
Method Summary
 void disableApplicationResuming(String appName)
          Disables the automatic resume function on the application with the given name.
 void enableApplicationResuming(String appName)
          Re-enales the automatic resume function on the application with the given name.
 boolean isApplicationResumingDisabled(String appName)
          Checks if the automatic resume function is disabled for the application with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomaticResumeManager

@Inject
public AutomaticResumeManager()
Default constructor for the resume manager. Required for the inject.

Method Detail

disableApplicationResuming

public void disableApplicationResuming(String appName)
Description copied from interface: IAutomaticResumeFunction
Disables the automatic resume function on the application with the given name.

Specified by:
disableApplicationResuming in interface IAutomaticResumeFunction
Parameters:
appName - name of the application shall not be resumed.

enableApplicationResuming

public void enableApplicationResuming(String appName)
Description copied from interface: IAutomaticResumeFunction
Re-enales the automatic resume function on the application with the given name.

Specified by:
enableApplicationResuming in interface IAutomaticResumeFunction
Parameters:
appName - name of the application shall be auto-resumed.

isApplicationResumingDisabled

public boolean isApplicationResumingDisabled(String appName)
Description copied from interface: IAutomaticResumeFunction
Checks if the automatic resume function is disabled for the application with the given name.

Specified by:
isApplicationResumingDisabled in interface IAutomaticResumeFunction
Parameters:
appName - name of the application
Returns:
true, if the automatic resume function is disabled for the application with the given name.


Copyright © 2019. All rights reserved.