Examples of run()


Examples of org.jitterbit.integration.client.ui.interchange.core.action.ActionPageSaver.run()

                exporter.setWaitService(appWin);
                exporter.exportSettings(source);
            }
        };
        ActionPageSaver worker = new ActionPageSaver(pageDisplayer, editorSaver, source, job);
        worker.run();
    }

}
View Full Code Here

Examples of org.jitterbit.integration.client.ui.operation.runner.OperationRunner.run()

    @Override
    public void execute(String[] params) throws CommandException {
        Operation op = page.getObject();
        OperationRunner runner = factory.newRunner();
        runner.run(op, 1, new Receiver<Long>() {

            @Override
            public void handle(Long opInstanceId) {
                openMonitor(opInstanceId);
            }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.document.TextDocumentValidator.run()

        TextDocument doc = new TextDocument("X");
        doc.setDelimiter(FieldDelimiter.COMMA);
        doc.setStructure(struct);
        ValidationMessageCollectorImpl collector = new ValidationMessageCollectorImpl(ValidationContext.EMPTY);
        TextDocumentValidator validator = new TextDocumentValidator(doc, collector);
        validator.run();
        assertSame(ValidationStatus.VALID, collector.result().status());
    }
   
}
View Full Code Here

Examples of org.jitterbit.integration.project.upgrade.DefaultPreLoader.run()

class Handler implements ProjectVersionHandler {

    @Override
    public boolean preLoading(String name, File rootDirectory, UpgradeStrategy strategy) {
        DefaultPreLoader pre = new DefaultPreLoader(name, rootDirectory, strategy);
        pre.run();
        return pre.isGreenLighted();
    }

    @Override
    public boolean postLoading(ManagedProject p) {
View Full Code Here

Examples of org.jivesoftware.openfire.muc.cluster.BroadcastMessageRequest.run()

        CacheFactory.doClusterTask(request);

        // Broadcast message to occupants connected to this JVM
        request = new BroadcastMessageRequest(this, message, occupants.size());
        request.setOriginator(true);
        request.run();
    }

    public void broadcast(BroadcastMessageRequest messageRequest) {
        Message message = messageRequest.getMessage();
        // Add message to the room history
View Full Code Here

Examples of org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest.run()

        CacheFactory.doClusterTask(request);

        // Broadcast presence to occupants connected to this JVM
        request = new BroadcastPresenceRequest(this, presence);
        request.setOriginator(true);
        request.run();
    }

    public void broadcast(BroadcastPresenceRequest presenceRequest) {
        String jid = null;
        Presence presence = presenceRequest.getPresence();
View Full Code Here

Examples of org.jivesoftware.openfire.muc.cluster.ChangeNickname.run()

        CacheFactory.doClusterTask(request);

        // Update the nickname of the occupant
        request = new ChangeNickname(this, oldNick,  newNick, newPresence.createCopy());
        request.setOriginator(true);
        request.run();

        // Broadcast new presence of occupant
        broadcastPresence(occupantRole.getPresence().createCopy());
    }
View Full Code Here

Examples of org.jivesoftware.openfire.muc.cluster.DestroyRoomRequest.run()

    }

    public void destroyRoom(String alternateJID, String reason) {
        DestroyRoomRequest destroyRequest = new DestroyRoomRequest(this, alternateJID, reason);
        destroyRequest.setOriginator(true);
        destroyRequest.run();
    }

    public Presence createPresence(Presence.Type presenceType) throws UnauthorizedException {
        Presence presence = new Presence();
        presence.setType(presenceType);
View Full Code Here

Examples of org.jivesoftware.openfire.muc.cluster.OccupantLeftEvent.run()

        }

        // Remove occupant from room and destroy room if empty and not persistent
        OccupantLeftEvent event = new OccupantLeftEvent(this, leaveRole);
        event.setOriginator(true);
        event.run();
    }

    public void leaveRoom(OccupantLeftEvent event) {
        MUCRole leaveRole = event.getRole();
        if (leaveRole == null) {
View Full Code Here

Examples of org.jivesoftware.openfire.muc.cluster.UpdatePresence.run()

        CacheFactory.doClusterTask(request);

        // Update the presence of the occupant
        request = new UpdatePresence(this, newPresence.createCopy(), occupantRole.getNickname());
        request.setOriginator(true);
        request.run();

        // Broadcast new presence of occupant
        broadcastPresence(occupantRole.getPresence().createCopy());
    }
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.