Package de.swa.fuh.qrefinement.command
Class ChangeAlgorithmConfig
java.lang.Object
de.swa.fuh.qrefinement.command.ChangeAlgorithmConfig
- All Implemented Interfaces:
UndoableCommand
public class ChangeAlgorithmConfig extends java.lang.Object implements UndoableCommand
This is a command class implementing command pattern. The algorithm used to form a new query can be changed with this command.
- Author:
- Nicolas Boch
-
Constructor Summary
Constructors Constructor Description ChangeAlgorithmConfig(java.lang.String newalg)
ChangeAlgorithmConfig(java.lang.String newalg, double a, double b, double c)
-
Method Summary
-
Constructor Details
-
ChangeAlgorithmConfig
public ChangeAlgorithmConfig(java.lang.String newalg) -
ChangeAlgorithmConfig
public ChangeAlgorithmConfig(java.lang.String newalg, double a, double b, double c)
-
-
Method Details
-
execute
public void execute()- Specified by:
execute
in interfaceUndoableCommand
-
undo
public void undo()- Specified by:
undo
in interfaceUndoableCommand
-
redo
public void redo()- Specified by:
redo
in interfaceUndoableCommand
-