com.kuka.roboticsAPI.conditionModel
Class AbstractComplexCondition

java.lang.Object
  extended by com.kuka.roboticsAPI.conditionModel.AbstractCondition
      extended by com.kuka.roboticsAPI.conditionModel.AbstractComplexCondition
All Implemented Interfaces:
ICondition
Direct Known Subclasses:
AndCondition, NotCondition, OrCondition, XorCondition

public abstract class AbstractComplexCondition
extends AbstractCondition

Abstract base class for complex conditions.

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.

Constructor Summary
protected AbstractComplexCondition(ICondition condition)
          Creates an instance of the class with the single given condition.
protected AbstractComplexCondition(ICondition condition1, ICondition condition2, ICondition... conditions)
          Creates an instance of the class with the given conditions.
 
Method Summary
 List<ICondition> getConditions()
          Gets all conditions as unmodifiable list.
 Controller getController()
          Return the controller referred to by this condition.
protected  String toString(String combiner)
           
 
Methods inherited from class com.kuka.roboticsAPI.conditionModel.AbstractCondition
and, invert, or, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComplexCondition

protected AbstractComplexCondition(ICondition condition)
Creates an instance of the class with the single given condition.

Parameters:
condition - condition
Throws:
IllegalArgumentException - if the conditions is null

AbstractComplexCondition

protected AbstractComplexCondition(ICondition condition1,
                                   ICondition condition2,
                                   ICondition... conditions)
Creates an instance of the class with the given conditions.

Parameters:
condition1 - first condition
condition2 - second condition
conditions - array of further conditions
Throws:
IllegalArgumentException - if any of the conditions is null
Method Detail

getConditions

public List<ICondition> getConditions()
Gets all conditions as unmodifiable list.

Returns:
an unmodifiable collection containing all conditions.
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.

toString

protected String toString(String combiner)

getController

public Controller getController()
Description copied from class: AbstractCondition
Return the controller referred to by this condition.

Specified by:
getController in class AbstractCondition
Returns:
The controller referred to by this condition. Can be null.


Copyright © 2019. All rights reserved.