Examples of update()


Examples of fitnesse.updates.UpdaterImplementation.update()

  }

  private boolean update(FitNesseContext context) throws IOException {
    if (!"true".equalsIgnoreCase(context.getProperty(OMITTING_UPDATES.getKey()))) {
      Updater updater = new UpdaterImplementation(context);
      return updater.update();
    }
    return false;
  }

  private void loadPlugins(String rootPath) throws Exception {
View Full Code Here

Examples of fr.eolya.utils.nosql.mongodb.MongoDBCollection.update()

        doc2.put("crawl_nexttime", new Date());
        doc2.put("crawl_process_status", ISource.CRAWL_PROCESS_MODE_NONE);
        doc2.put("crawl_priority", "2");
        doc2.put("running_crawl_lastupdate", null);
        doc2.put("_poped", false);
        coll.update(doc, doc2);         
      }
    }
  }

  public boolean updateSourceStatusStartup(int id, long queueSize, long doneQueueSize) {
View Full Code Here

Examples of fr.neatmonster.nocheatplus.utilities.ActionFrequency.update()

    if (freq == null){
      freq = new ActionFrequency(nBuckets, durBucket);
      entries.put(key, freq);
      return 0.0f;
    }
    freq.update(ts);
    float score = Math.min(1.0f, freq.score(factor));
    freq.add(ts, 1.0f);
    return score;
  }
 
View Full Code Here

Examples of fr.soleil.bossanova.gui.view.batchViewer.BatchLoadSaveMonitor.update()

                                percentCompleted = i * 100 / steps.size();
                                tracePercent = percentCompleted + "% Completed";
                               
                                BLSMonitor.updateBar(percentCompleted);
                                BLSMonitor.setString(tracePercent);
                                BLSMonitor.update(BLSMonitor.getGraphics());

                            }
                        }
                    } catch (Exception e) {
                        e.printStackTrace();
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.AnnonceDao.update()

        Membre repondeur = mDao.getById(idRepondeur);
       
        annonce.setRepondeur(repondeur);
        annonce.setStatut(sDao.getById(3));
       
        dao.update(annonce);
       
        Message message = new Message();
       
        message.setAnnonce(annonce);
        message.setDestinataire(repondeur);
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.MembreDao.update()

            membre.setVille(inscrireForm.getVille());
            membre.setNom(inscrireForm.getNom());
            membre.setPrenom(inscrireForm.getPrenom());


            dao.update(membre);
            return mapping.findForward("success");

        } else {
            return mapping.findForward("error");
        }
View Full Code Here

Examples of fr.utbm.in56.annonces.dao.MessageDao.update()

       
        Membre membre = (Membre) request.getSession().getAttribute("membre");
       
        if(m.getDestinataire().getId() == membre.getId() ){
            m.setOuvert(true);
            dao.update(m);
           
            request.getSession().setAttribute("unread",dao.getNbUnReadMessageByMember(membre));
        }
               
        SimpleDateFormat dateformatMMDDYYYY = new SimpleDateFormat("MM/dd/yyyy");
View Full Code Here

Examples of framework.IRadarPlaneObject.update()

    }

    public void updatePlaneData(IPlaneUpdateObject puo) {
        IRadarPlaneObject tmp = radarPlaneList.get(puo.getIp());
        handlePlaneUpdate(tmp, tmp.getActiveController(), puo.getActiveController());
        tmp.update(puo);
    }

    /**
     * Adds a new plane.
     *
 
View Full Code Here

Examples of freenet.clients.http.bookmark.BookmarkItem.update()

        if("edit".equals(action)) {
          bookmarkManager.renameBookmark(bookmarkPath, name);
          boolean hasAnActivelink = req.isPartSet("hasAnActivelink");
          if(bookmark instanceof BookmarkItem) {
            BookmarkItem item = (BookmarkItem) bookmark;
            item.update(new FreenetURI(req.getPartAsStringFailsafe("key", MAX_KEY_LENGTH)), hasAnActivelink, req.getPartAsStringFailsafe("descB", MAX_KEY_LENGTH), req.getPartAsStringFailsafe("explain", MAX_EXPLANATION_LENGTH));
            sendBookmarkFeeds(req, item, req.getPartAsStringFailsafe("publicDescB", MAX_KEY_LENGTH));
          }
          bookmarkManager.storeBookmarks();

          pageMaker.getInfobox("infobox-success", NodeL10n.getBase().getString("BookmarkEditorToadlet.changesSavedTitle"), content, "bookmark-error", false).
View Full Code Here

Examples of games.stendhal.client.GameObjects.update()

        final long now = System.currentTimeMillis();
        final int delta = (int) (now - refreshTime);
        refreshTime = now;

        logger.debug("Move objects");
        gameObjects.update(delta);

        if (gameLayers.isAreaChanged()) {
          // Same thread as the ClientFramework loop, so these should
          // be save
          /*
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.