public IDto runTask(IDto dto) {
   return commander.execute(dto);
 }
 public void prepareTask(String type) {
   commander = commanderFactory.newInstance(type);
   if (parameters != null && parameters.length != 0) {
     commander.setParameters(parameters);
   }
 }