forked from CS2103AUG2016-F11-C2/main
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogic.java
More file actions
30 lines (23 loc) · 914 Bytes
/
Logic.java
File metadata and controls
30 lines (23 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package seedu.cmdo.logic;
import javafx.collections.ObservableList;
import seedu.cmdo.commons.events.ui.JumpToListRequestEvent;
import seedu.cmdo.logic.commands.CommandResult;
import seedu.cmdo.model.task.ReadOnlyTask;
/**
* API of the Logic component
*/
public interface Logic {
/**
* Executes the command and returns the result.
* @param commandText The command as entered by the user.
* @return the result of the command execution.
*/
CommandResult execute(String commandText);
/** Returns the filtered list of tasks */
ObservableList<ReadOnlyTask> getFilteredTaskList();
/** Returns the first-run list of tasks */
ObservableList<ReadOnlyTask> getFilteredTaskList(boolean firstRun);
ObservableList<ReadOnlyTask> getBlockedList();
ObservableList<ReadOnlyTask> getAllTaskList();
void handleJumpToListRequestEvent(JumpToListRequestEvent event);
}