com.kuka.roboticsAPI.controllerModel.sunrise
Enum ResumeMode

java.lang.Object
  extended by java.lang.Enum<ResumeMode>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.ResumeMode
All Implemented Interfaces:
Serializable, Comparable<ResumeMode>

public enum ResumeMode
extends Enum<ResumeMode>

Resume execution modes for sunrise execution service.

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.

Enum Constant Summary
FromPoint
          Resumes execution by sending all paused SPRs to sunrise, but not setting "resume" flag for paused modules.
NoMotion
          Resumes execution canceling all paused SPRs.
OnPath
          Resumes execution with the assumption that all robots are on path.
 
Method Summary
static ResumeMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResumeMode[] 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

OnPath

public static final ResumeMode OnPath
Resumes execution with the assumption that all robots are on path.

Resends SPR sending resume flag for modules that can be resumed.


NoMotion

public static final ResumeMode NoMotion
Resumes execution canceling all paused SPRs.


FromPoint

public static final ResumeMode FromPoint
Resumes execution by sending all paused SPRs to sunrise, but not setting "resume" flag for paused modules.

Method Detail

values

public static ResumeMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ResumeMode c : ResumeMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ResumeMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2019. All rights reserved.