com.rapidminer.operator.meta.branch
Class InputExistsCondition

java.lang.Object
  extended by com.rapidminer.operator.meta.branch.InputExistsCondition
All Implemented Interfaces:
ProcessBranchCondition

public class InputExistsCondition
extends java.lang.Object
implements ProcessBranchCondition

This condition tests if an IOObject exists.

Author:
Ingo Mierswa

Constructor Summary
InputExistsCondition()
          Constructor used by reflection.
 
Method Summary
 boolean check(ProcessBranch operator, java.lang.String value)
          This method checks if the file with pathname value exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputExistsCondition

public InputExistsCondition()
Constructor used by reflection.

Method Detail

check

public boolean check(ProcessBranch operator,
                     java.lang.String value)
              throws OperatorException
This method checks if the file with pathname value exists.

Specified by:
check in interface ProcessBranchCondition
Parameters:
operator - the operator which checks this condition
value - the value to check if meets condition
Returns:
true if value meets condition, false otherwise
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I