Examples of copyFrom()


Examples of de.iritgo.aktera.comm.ModelResponseMessage.copyFrom()

      {
        getLogger().error("Response from model was null");
      }
      else
      {
        resMessage.copyFrom(res);
      }
    }
    catch (Exception ce)
    {
      getLogger().error("Unable to copy response to message:", ce);
View Full Code Here

Examples of de.iritgo.aktera.model.ModelRequest.copyFrom()

      throw new ModelException("Service Exception getting request", se);
    }

    try
    {
      req.copyFrom(request);
    }
    catch (Exception ee)
    {
      getLogger().error("Error copying ModelRequestMessage to ModelRequest", ee);
    }
View Full Code Here

Examples of de.yaams.extensions.basemap.tiled.core.TileLayer.copyFrom()

      // STAMP
      if (mouseButton == MouseEvent.BUTTON3 && layer instanceof TileLayer) {
        // Right mouse button dragged: create and set custom brush
        TileLayer brushLayer = new TileLayer(bounds);
        brushLayer.copyFrom(getCurrentLayer());
        brushLayer.setOffset(tile.x - (int) bounds.getWidth() / 2, tile.y - (int) bounds.getHeight() / 2);

        // Do a quick check to make sure the selection is not empty
        if (brushLayer.isEmpty()) {
          JOptionPane.showMessageDialog(appFrame, Resources.getString("dialog.selection.empty"),
View Full Code Here

Examples of gluebooster.demo.yoga.lib.AnulomaViloma.copyFrom()

   */
  @RequestMapping(value="anulomaViloma/configure", method=RequestMethod.POST)
  public  String anulomaVilomaConfigurationWithParameters(AnulomaViloma newConfiguration, BindingResult result, HttpSession session, Model model)
  {
    AnulomaViloma configuration = getConfigurationAndPutItIntoModel(session, model);
    configuration.copyFrom(newConfiguration);
    /*
    System.err.println("anulomaVilomaConfiguration: POST");
    System.err.println("new config: " + newConfiguration.getFirstInhalationLength());
    System.err.println("config: " + configuration.getFirstInhalationLength());
    System.err.println(model);
View Full Code Here

Examples of hudson.FilePath.copyFrom()

                FilePath workspace = abstractBuild.getWorkspace();

                FilePath testDir = workspace.child("target").child("testreports");
                testDir.mkdirs();
                FilePath reportFile = testDir.child("failed_test.xml");
                reportFile.copyFrom(failedTestReport);

                return true;
            }
        });
        TaskListener listener = StreamTaskListener.fromStdout();
View Full Code Here

Examples of javax.media.opengl.GLCapabilities.copyFrom()

        // Assuming that the offscreen drawable will/can support the chosen GLCapabilities
      // of the offscreen Canvas3D

        final GLCapabilities offCaps = new GLCapabilities(profile);
        offCaps.copyFrom(canvasCaps);

        // double bufffering only if scene antialiasing is required/preferred and supported
        if (offCaps.getSampleBuffers() == false) {
          offCaps.setDoubleBuffered(false);
          offCaps.setNumSamples(0);
View Full Code Here

Examples of net.aufdemrand.denizen.scripts.ScriptEntry.copyFrom()

                    ArrayList<ScriptEntry> bracedCommands = BracedCommand.getBracedCommands(scriptEntry.getOwner()).get("FOREACH");
                    ScriptEntry callbackEntry = null;
                    try {
                        callbackEntry = new ScriptEntry("FOREACH", new String[] { "\0CALLBACK" },
                                (scriptEntry.getScript() != null ? scriptEntry.getScript().getContainer(): null));
                        callbackEntry.copyFrom(scriptEntry);
                    }
                    catch (ScriptEntryCreationException e) {
                        dB.echoError(scriptEntry.getResidingQueue(), e);
                    }
                    callbackEntry.setOwner(scriptEntry.getOwner());
View Full Code Here

Examples of net.geco.model.RunnerRaceData.copyFrom()

  }
 
  public RunnerRaceData updateRunnerDataFor(Runner runner, RunnerRaceData newData) {
    RunnerRaceData runnerData = registry().findRunnerData(runner);
    Status oldStatus = runnerData.getResult().getStatus();
    runnerData.copyFrom(newData);
    announcer().announceStatusChange(runnerData, oldStatus);
    return runnerData;
  }
 
 
View Full Code Here

Examples of org.apache.camel.Exchange.copyFrom()

        return "Exchange[" + in + "]";
    }

    public Exchange copy() {
        Exchange exchange = newInstance();
        exchange.copyFrom(this);
        return exchange;
    }

    public void copyFrom(Exchange exchange) {
        if (exchange == this) {
View Full Code Here

Examples of org.apache.camel.Message.copyFrom()

        InputStream stream = exchange.getIn().getMandatoryBody(InputStream.class);
        try {
            // lets setup the out message before we invoke the signing
            // so that it can mutate it if necessary
            Message out = exchange.getOut();
            out.copyFrom(exchange.getIn());
            verify(stream, out);
            clearMessageHeaders(out);
        } catch (Exception e) {
            // remove OUT message, as an exception occurred
            exchange.setOut(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.