com.rapidminer.operator.condition
Class SpecificInnerOperatorCondition

java.lang.Object
  extended by com.rapidminer.operator.condition.SpecificInnerOperatorCondition
All Implemented Interfaces:
InnerOperatorCondition

public class SpecificInnerOperatorCondition
extends java.lang.Object
implements InnerOperatorCondition

A condition for a specific inner operator with a fixed index. Since in these cases often a special name for this operator can be used, e.g. "Training" for the first operator of a cross validation, this condition also allows the definition of a describing name.

Author:
Ingo Mierswa ingomierswa Exp $

Constructor Summary
SpecificInnerOperatorCondition(java.lang.String name, int index, java.lang.Class[] willGet, java.lang.Class[] mustDeliver)
          Creates an inner operator condition.
 
Method Summary
 java.lang.Class[] checkIO(OperatorChain chain, java.lang.Class[] input)
          Checks if the condition is fulfilled in the given operator chain.
 java.lang.String toHTML()
          Returns a HTML string representation of this condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificInnerOperatorCondition

public SpecificInnerOperatorCondition(java.lang.String name,
                                      int index,
                                      java.lang.Class[] willGet,
                                      java.lang.Class[] mustDeliver)
Creates an inner operator condition.

Method Detail

checkIO

public java.lang.Class[] checkIO(OperatorChain chain,
                                 java.lang.Class[] input)
                          throws IllegalInputException,
                                 WrongNumberOfInnerOperatorsException
Description copied from interface: InnerOperatorCondition
Checks if the condition is fulfilled in the given operator chain. Throws an exception if it is not fullfilled.

Specified by:
checkIO in interface InnerOperatorCondition
Throws:
IllegalInputException
WrongNumberOfInnerOperatorsException

toHTML

public java.lang.String toHTML()
Description copied from interface: InnerOperatorCondition
Returns a HTML string representation of this condition.

Specified by:
toHTML in interface InnerOperatorCondition


Copyright © 2001-2009 by Rapid-I