Package bear.main.event

Examples of bear.main.event.NewPhaseConsoleEventToUI


                            final SessionContext $ = $s.get(partyIndex);

                            TaskResult<?> result = TaskResult.OK;

                            try {
                                ui.info(new NewPhaseConsoleEventToUI($.getName(), $.id, phase.getPhase().id));

                                $.setThread(Thread.currentThread());

                                $.whenPhaseStarts(phase.getPhase(), globalRunner.get().getShellContext());
View Full Code Here


                            logger.debug("[JAVA INIT] calling bindings JS initializer...");
                            webEngine.executeScript("Java.init(window);");
                            logger.debug("[JAVA INIT] calling app JS initializer...");
                            webEngine.executeScript("Java.initApp();");

                            bearFX.sendMessageToUI(new NewPhaseConsoleEventToUI("status", randomId()));

                            logger.error("[Loggers Diagnostics]");
                            LoggingBooter.loggerDiagnostics();

                            //set the singleton value only when fully started
View Full Code Here

        grid = new ComputingGrid<SessionContext, BearScriptPhase<Object, TaskResult<?>>>(phaseList, $s);

        grid.setPhaseEnterListener(new ComputingGrid.PartyListener<BearScriptPhase<Object, TaskResult<?>>, SessionContext>() {
            @Override
            public void handle(Phase<?, BearScriptPhase<Object, TaskResult<?>>> phase, PhaseParty<SessionContext, BearScriptPhase<Object, TaskResult<?>>> party) {
                ui.info(new NewPhaseConsoleEventToUI("shell", shellContext.sessionId, phase.getPhase().id));
                ui.info(new TaskConsoleEventToUI("shell", "step: " + phase.getName(),
                    phase.getPhase().id)
                     .setId(phase.getPhase().id)
                    .setParentId(shellContext.sessionId)
                );
View Full Code Here

                            final SessionContext $ = $s.get(partyIndex);

                            TaskResult<?> result = TaskResult.OK;

                            try {
                                ui.info(new NewPhaseConsoleEventToUI($.getName(), $.id, phase.getPhase().id));

                                $.setThread(Thread.currentThread());

                                $.whenPhaseStarts(phase.getPhase(), globalRunner.get().getShellContext());
View Full Code Here

TOP

Related Classes of bear.main.event.NewPhaseConsoleEventToUI

Copyright © 2018 www.massapicom. 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.