Class Controller
- java.lang.Object
-
- it.unipd.dei.eis.domain.controllers.Controller
-
- Direct Known Subclasses:
DownloadController,TermsExtractorController
public abstract class Controller extends Object
The Controller class is the abstract class for all the controllers. It contains the name of the controller and the execute method.
-
-
Constructor Summary
Constructors Constructor Description Controller(String name)Controller constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Either<Failure,Success>execute(Context context)The execute method is used to execute the controller.
-