this.myStringArray = myStringArray;
}
public void run() {
try{
ConsoleServicesFacade serviceFacade = Configuration.getInstance().getConsoleServicesFacade();
AbstractParsedCommand cmd = serviceFacade.parseAndValidate(myStringArray);
if(cmd != null){
serviceFacade.execute(cmd);
SoundPlayer.getInstance().playSound();
}else{
log.error(GettextResource.gettext(Configuration.getInstance().getI18nResourceBundle(),"Command validation returned an empty value."));
}
log.info(GettextResource.gettext(Configuration.getInstance().getI18nResourceBundle(),"Command executed."));