package seedu.oneline.model.task;

public enum TaskField {
    NAME,
    START_TIME,
    END_TIME,
    DEADLINE,
    RECURRENCE,
    TAG_ARGUMENTS
}

package seedu.oneline.model.task;

import seedu.oneline.logic.commands.CommandConstants;

public enum TaskField {
    NAME(null),
    START_TIME(CommandConstants.KEYWORD_START_TIME),
    END_TIME(CommandConstants.KEYWORD_END_TIME),
    DEADLINE(CommandConstants.KEYWORD_DEADLINE),
    RECURRENCE(CommandConstants.KEYWORD_RECURRENCE),
    TAG_ARGUMENTS(CommandConstants.KEYWORD_PREFIX);
    
    String keyword;
    
    private TaskField(String keyword) {
        this.keyword = keyword;
    }
    
    public String getKeyword() {
        return keyword;
    }
}

Add keywords string to respective TaskField enum