@Override public void execute() { if (getClusterId() == null) { _mgr.updateHostPassword(this); _resourceService.updateHostPassword(this); } else { _mgr.updateClusterPassword(this); _resourceService.updateClusterPassword(this); } setResponseObject(new SuccessResponse(getCommandName())); } }