For other features such as attendance, edit, delete, email etc, implement the IMarkExecutable interface if the feature is supports execution with marks (e.g. batch attendance updating, batch emailing)
@preethi-d suggested format for email:
email m/MARK b/BODY
@yogtew suggested format for attendance:
attendance m/MARK at/ATTENDANCE
Suggested implementation details:
Update YourCommandParser to accept a PREFIX_MARK in the tokenizer
Check if argumentMultiMap contains a value for the PREFIX_MARK attribute
If present, call executeMark method from execute and return the CommandResult from that
For other features such as attendance, edit, delete, email etc, implement the IMarkExecutable interface if the feature is supports execution with marks (e.g. batch attendance updating, batch emailing)
@preethi-d suggested format for
email
:@yogtew suggested format for
attendance
:Suggested implementation details:
YourCommandParser
to accept aPREFIX_MARK
in the tokenizerargumentMultiMap
contains a value for thePREFIX_MARK
attributeexecuteMark
method fromexecute
and return theCommandResult
from thatexecute
as normalCan refer to the
SetTagCommand
for inspiration