Examples of Update


Examples of org.apache.felix.sigil.common.runtime.io.UpdateAction.Update

    public void update(long bundle) throws IOException, BundleException
    {
        if (socket == null)
            throw new IllegalStateException("Not connected");
        Update update = new UpdateAction.Update(bundle, null);
        new UpdateAction(in, out).client(update);
    }
View Full Code Here

Examples of org.apache.felix.sigil.common.runtime.io.UpdateAction.Update

    public void update(long bundle, String url) throws IOException, BundleException
    {
        if (socket == null)
            throw new IllegalStateException("Not connected");
        Update update = new UpdateAction.Update(bundle, url);
        new UpdateAction(in, out).client(update);
    }
View Full Code Here

Examples of org.apache.jackrabbit.vault.vlt.actions.Update

        File localDir = app.getPlatformFile("", true);

        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Update u = new Update(localDir, localFiles, cl.hasOption(optNonRecursive));
        u.setForce(cl.hasOption(optForce));
        vCtx.execute(u);
    }
View Full Code Here

Examples of org.apache.metamodel.update.Update

        assertTrue(ds.next());
        assertEquals("Row[values=[1]]", ds.getRow().toString());
        assertFalse(ds.next());
        ds.close();

        dc.executeUpdate(new Update(table).where("id").eq("foo").value("id", "baz"));
       
        ds = dc.query().from(table).selectAll().execute();
        assertTrue(ds.next());
        assertEquals("Row[values=[baz]]", ds.getRow().toString());
        assertFalse(ds.next());
View Full Code Here

Examples of org.apache.tuscany.das.rdb.config.Update

        throw new RuntimeException("Could not find relationship " + name + " in the configuration");
    }

    public void addUpdateStatement(Table table, String statement, String parameters) {

        Update update = ConfigFactory.INSTANCE.createUpdate();
        update.setSql(statement);
        update.setParameters(parameters);
        table.setUpdate(update);

    }
View Full Code Here

Examples of org.ardverk.dht.routing.ContactEntry.Update

        update.getPrevious(), update.getMerged());
  }
 
  private synchronized void replace(DefaultBucket bucket,
      ContactEntry entry, Contact contact) {
    Update update = entry.update(contact);
    bucket.touch();
   
    fireContactChanged(bucket, update.getPrevious(), contact);
  }
View Full Code Here

Examples of org.csm.jupdater.logic.Update

* @author Santiago Moreno <ingcsmoreno@gmail.com>
*/
public class DownloadManager {

    public static void downloadUpdate(int updateCode) throws ChecksumFailException, IOException {
        Update update = UpdateManager.getUpdate(updateCode);;
        try {
            String updateChecksum = downloadFile(update.getUpdateFile());
            Logger.getLogger(DownloadManager.class.getName()).debug("Checksum="
                    +updateChecksum);
            if (updateChecksum.compareTo(update.getChecksum())!=0)
                throw new ChecksumFailException("Downloaded file "
                        + update.getUpdateFile() + " checksum fails.");
        } catch (MalformedURLException ex) {
            Logger.getLogger(DownloadManager.class.getName()).error(
                    "URL: "+update.getUpdateFile()+"\n"+ex.getStackTrace());
        }
    }
View Full Code Here

Examples of org.dbwiki.data.database.Update

      // targetElement should be nonnull
      assert(targetElement != null);
      if (!targetElement.isAttribute()) {
        throw new WikiDataException(WikiDataException.InvalidPasteTarget, target.toParameterString());
      }
      Update update = new Update();
      update.add(new NodeUpdate(targetElement.identifier(), ((PasteTextNode)pasteNode).getValue()));
      updateNodeWrapped(targetElement, update, _versionIndex.getNextVersion(new ProvenanceCopy(user, targetElement.identifier(), sourceURL)));
    }
  }
View Full Code Here

Examples of org.drools.scm.log.ScmLogEntry.Update

                  }
                 
                  case SVNLogEntryPath.TYPE_MODIFIED: {
                      SVNDirEntry dirEntry = this.repository.info( entryPath.getPath(), -1 );
                      char type = ( dirEntry.getKind() == SVNNodeKind.DIR ) ? 'D' : 'F';
                      Update update = new Update( type, entryPath.getPath(), logEntry.getRevision());
                      scmLogEntry.addAction( update );
                      break;
                  }
                 
                  case SVNLogEntryPath.TYPE_REPLACED: {
View Full Code Here

Examples of org.eclipse.equinox.p2.operations.Update

        if (status.getSeverity() == IStatus.ERROR)
            throw new CoreException(status);

        Update[] possibleUpdates = operation.getPossibleUpdates();
        Update update = possibleUpdates.length > 0 ? possibleUpdates[0] : null;

        if (update == null)
        {
            return new NewVersion(Messages.LabelUnknownVersion, null, null);
        }
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.