com.cc.framework.common
Interface Algorithm

All Known Implementing Classes:
Algorithms.CheckCheckableAlg, Algorithms.CheckPropertyAlg, Algorithms.CollectCheckableAlg, Algorithms.CollectItemsAlg, Algorithms.CollectPropertyAlg, Algorithms.KeySearchAlg, Algorithms.VisibleNodeCounterAlg, Checker

public interface Algorithm

Interface for an algorithm which should be processed for all elements in a collection.

Since:
1.0
Version:
$Revision: 1.13 $
Author:
Harald Schulz

Method Summary
 boolean execute(java.lang.String uniqueId, java.lang.Object obj)
          Completes the algorithm for an element in the collection.
 

Method Detail

execute

public boolean execute(java.lang.String uniqueId,
                       java.lang.Object obj)
                throws java.lang.Exception
Completes the algorithm for an element in the collection.

Parameters:
uniqueId - Id
obj - Object
Returns:
boolean Returns true if the algorithm should also be processed for the other elements in the collection or false if the processing should be stopped.
Throws:
java.lang.Exception - Is thrown in case of an processing error


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.