Interface AdaptationTreeOptimizerIterator
-
public interface AdaptationTreeOptimizerIteratorIterator for optimization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdaptationcurrentAdaptation()Returns the current dataset, which will be optimized on the next call toexecuteCurrent().voidexecuteAll()Optimizes all remaining datasets in the iterator.AdaptationexecuteCurrent()Optimizes current dataset and sets the cursor to the next one.booleanhasNext()Returnstrueif there are still datasets to optimize,falseotherwise.booleanisForHandleDuplicates()Returnstrueif the optimizer is handling duplicates in the dataset tree.booleanisForRefactor()Returnstrueif the optimizer is refactoring the dataset treeAdaptationnextAdaptation()Returns the next dataset, which will become the current one after the next call toexecuteCurrent().
-
-
-
Method Detail
-
hasNext
boolean hasNext()
Returnstrueif there are still datasets to optimize,falseotherwise.
-
currentAdaptation
Adaptation currentAdaptation()
Returns the current dataset, which will be optimized on the next call toexecuteCurrent().
-
nextAdaptation
Adaptation nextAdaptation()
Returns the next dataset, which will become the current one after the next call toexecuteCurrent().
-
executeAll
void executeAll() throws OperationExceptionOptimizes all remaining datasets in the iterator.- Throws:
OperationException
-
executeCurrent
Adaptation executeCurrent() throws OperationException
Optimizes current dataset and sets the cursor to the next one. Returns the optimized dataset, ornullif there are no more to optimize.- Throws:
OperationException
-
isForRefactor
boolean isForRefactor()
Returnstrueif the optimizer is refactoring the dataset tree
-
isForHandleDuplicates
boolean isForHandleDuplicates()
Returnstrueif the optimizer is handling duplicates in the dataset tree.
-
-