HR email handler

The HREmailHandler class extends the MainEmailHandler class. It assigns the keywords specific to the HR email handler and contains the processEmailFinal() method:

public class HREmailHandler extends MainEmailHandler {

protected String[] assignedKeyWords() {
// setup keywords for the receiver team
return new String[]{"career", "job", "faculty"};
}

@Override
protected String[] keyWords() {
return new String[0];
}

protected void processEmailFinal(String emailText) {
System.out.println("The Human Resources Team processed the email.");
}

@Override
public void setNextEmailHandler(UniversityEmailHandler emailHandler) {

}
}

The processEmailFinal() method just shown informs the user that the HR email handler took care of the received email.