Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[John Benedict] iP #14

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
1a08237
Level 1. Greet, Echo, Exit
johnbenedictyan Aug 16, 2022
4684662
Level 2. Add, List
johnbenedictyan Aug 16, 2022
0c3b836
Level 3. Mark as Done
johnbenedictyan Aug 16, 2022
563d353
Level 4. ToDos, Events, Deadlines
johnbenedictyan Aug 16, 2022
75ffbe7
Test using the I/O redirection technique
johnbenedictyan Aug 16, 2022
42c6669
Level 5. Handle Errors
johnbenedictyan Aug 16, 2022
f1efa27
A-Exceptions
johnbenedictyan Aug 16, 2022
2e0dfc5
Level 6. Delete
johnbenedictyan Aug 16, 2022
3eaaa9e
A-Enums
johnbenedictyan Aug 16, 2022
3ea20b7
Refactor greeting functions
johnbenedictyan Aug 16, 2022
ee86507
Refactor task control flow with new task controller class
johnbenedictyan Aug 16, 2022
075ed42
Refactor code
johnbenedictyan Aug 16, 2022
7bc87fc
Refactor code
johnbenedictyan Aug 16, 2022
a1b132a
Add javadoc
johnbenedictyan Aug 16, 2022
ade32cb
Refactor folder structure
johnbenedictyan Aug 16, 2022
aada865
Level 7. Save
johnbenedictyan Aug 22, 2022
812c48f
Level 8. Dates and Times
johnbenedictyan Aug 23, 2022
63cb852
Merge remote-tracking branch 'upstream/add-gradle-support'
johnbenedictyan Aug 24, 2022
df388ea
A-Gradle
johnbenedictyan Aug 24, 2022
351bea5
A-Packages
johnbenedictyan Aug 24, 2022
961e2a2
A-MoreOOP
johnbenedictyan Aug 25, 2022
26a9e28
A-JUnit
johnbenedictyan Aug 27, 2022
df12bfd
A-JUnit
johnbenedictyan Aug 27, 2022
9c47fc4
A-JavaDoc
johnbenedictyan Aug 27, 2022
2ae11e1
A-CodingStandard
johnbenedictyan Aug 27, 2022
e8c70a9
Level 9. Find
johnbenedictyan Aug 27, 2022
0d47ec9
Merge branch-A-CodingStandard into master.
johnbenedictyan Aug 27, 2022
b9cef36
Merge branch-Level-9 into master.
johnbenedictyan Aug 27, 2022
50fe134
A-CheckStyle
johnbenedictyan Aug 30, 2022
5669425
Level 10. GUI
johnbenedictyan Aug 30, 2022
f3545a1
A-Varargs
johnbenedictyan Sep 1, 2022
87ae671
A-Assertions
johnbenedictyan Sep 5, 2022
cd9e60a
A-CodeQuality
johnbenedictyan Sep 9, 2022
5ff07e0
A-Streams
johnbenedictyan Sep 9, 2022
9e33d5a
Merge pull request #3 from johnbenedictyan/branch-A-CodeQuality
johnbenedictyan Sep 9, 2022
94b7687
Merge pull request #2 from johnbenedictyan/branch-A-Streams
johnbenedictyan Sep 9, 2022
3ba60a1
Deconflict merge
johnbenedictyan Sep 9, 2022
a74a0ee
Merge pull request #1 from johnbenedictyan/branch-A-Assertions
johnbenedictyan Sep 9, 2022
82a8dc5
Add github workflow
johnbenedictyan Sep 9, 2022
be0b419
Generate Javadocs
johnbenedictyan Sep 9, 2022
92ed8d1
C-Sort
johnbenedictyan Sep 9, 2022
f261e0a
Add ability to display help task
johnbenedictyan Sep 10, 2022
c9e1a52
Implement Better UI
johnbenedictyan Sep 12, 2022
8688724
Style Javadocs
johnbenedictyan Sep 12, 2022
5d4febf
Implement Duke Personality
johnbenedictyan Sep 12, 2022
c95f555
Improve testing and parser
johnbenedictyan Sep 13, 2022
ece159b
Update github pages configuration
johnbenedictyan Sep 13, 2022
34e6186
Fix test indentation
johnbenedictyan Sep 13, 2022
a047a99
Remove ui picture
johnbenedictyan Sep 13, 2022
494bc6c
Upload ui picture
johnbenedictyan Sep 13, 2022
0f84726
Rename ui picture
johnbenedictyan Sep 13, 2022
e1008ef
Rename ui picture
johnbenedictyan Sep 13, 2022
1d885de
Update github page config file
johnbenedictyan Sep 13, 2022
768719b
Add a User Guide
johnbenedictyan Sep 14, 2022
29647bd
Fix gradle for release
johnbenedictyan Sep 14, 2022
cbccb22
Fix storage file creation and access
johnbenedictyan Sep 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
A-Enums
Use Enumerations
  • Loading branch information
johnbenedictyan committed Aug 16, 2022
commit 3eaaa9ef85aab1b7054639c575a4442b1aa0304a
21 changes: 21 additions & 0 deletions src/main/java/DukeCommands.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public enum DukeCommands {
EXIT("bye"),
LIST("list"),
MARK("mark"),
UNMARK("unmark"),
TODO("todo"),
DEADLINE("deadline"),
EVENT("event"),
DELETE("delete");

private String text;

DukeCommands(String text) {
this.text = text;
}

@Override
public String toString() {
return this.text;
}
}