Examples of Sync


Examples of nexj.core.meta.integration.service.Sync

               persist.setOnError(getOnError(element));
               step = persist;
            }
            else if (sElement.equals("Sync"))
            {
               Sync sync = new Sync(sStepName);
               sync.setSyncLink(m_helper.parse(XMLUtil.getReqStringAttr(element, "link"), false, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
               sync.setSyncScript((Pair)m_helper.parse(m_helper.getElementValue(element), true, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
               sync.setOnError(getOnError(element));
               step = sync;
            }
            else if (sElement.equals("Send"))
            {
               Send send = new Send(sStepName);
View Full Code Here

Examples of org.apache.abdera.ext.sharing.Sync

   
    // there will be two entries in f3, one of which shows a conflict
    for (Entry entry : f3.getEntries()) {
      System.out.println(entry.getId());
      if (SharingHelper.hasConflicts(entry)) {
        Sync sync = SharingHelper.getSync(entry);
        Conflicts conflicts = sync.getConflicts();
        System.out.println("\tNumber of conflicts: " + conflicts.getEntries().size());
      }
    }
   
  }
View Full Code Here

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

        String localPath = (String) cl.getValue(argLocalPath);
        File localFile = app.getPlatformFile(localPath == null ? "." : localPath, false).getCanonicalFile();
        VltContext vCtx = app.createVaultContext(localFile);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Sync sc = new Sync(cmd, addr, localFile);
        sc.setForce(cl.hasOption(optForce));
        vCtx.execute(sc);
    }
View Full Code Here

Examples of org.gradle.api.tasks.Sync

    }

    @SuppressWarnings("serial")
    private Task addCopyToLibTask(Project project, Launch4jPluginExtension configuration)
    {
        final Sync task = makeTask(TASK_LIB_COPY_NAME, Sync.class);
        task.setDescription("Copies the project dependency jars in the lib directory.");
        task.setGroup(LAUNCH4J_GROUP);
        // more stuff with the java plugin
        //task.with(configureDistSpec(project));
        task.into( new Closure<File>(null)
        {
            @Override
            public File call(Object... obj)
            {
                Launch4jPluginExtension ext = ((Launch4jPluginExtension) task.getProject().getExtensions().getByName(Launch4jPlugin.LAUNCH4J_CONFIGURATION_NAME));
                return task.getProject().file(task.getProject().getBuildDir() + "/" + ext.getOutputDir() + "/lib");
            }
        });
        return task;
    }
View Full Code Here

Examples of org.jboss.errai.jpa.sync.client.local.Sync

          + method.getDeclaringClass().getFullyQualifiedName());
    }

    final List<Statement> statements = new ArrayList<Statement>();

    Sync syncAnnotation = ctx.getAnnotation();
    statements.add(Stmt.declareFinalVariable("objectClass", Class.class, Stmt.loadLiteral(Object.class)));

    statements.add(Stmt.declareFinalVariable(
            "syncWorkerHolder",
            parameterizedAs(RefHolder.class, typeParametersOf(ClientSyncWorker.class)),
View Full Code Here

Examples of org.jruby.pg.internal.messages.Sync

      shouldBind = shouldDescribe = shouldExecute = false;
    }

    if (state == ConnectionState.ExtendedReadyForQuery) {
      if (extendedQueryIsOver()) {
        currentOutBuffer = new Sync().toBytes();
        state = ConnectionState.SendingSync;
      } else {
        if (shouldBind) {
          shouldBind = false;
          sendExecPrepared(PostgresqlString.NULL_STRING, values, format);
View Full Code Here

Examples of org.structr.web.entity.relation.Sync

      syncedNode.setProperty(content, getProperty(content));
      syncedNode.setProperty(contentType, getProperty(contentType));
      syncedNode.setProperty(name, getProperty(name));
    }

                final Sync rel = getIncomingRelationship(Sync.class);

                if (rel != null) {

                    final Content otherNode = (Content) rel.getSourceNode();

                    if (otherNode != null) {

                        // sync both ways
                        otherNode.setProperty(content, getProperty(content));
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.