Examples of Output


Examples of org.cipango.callflow.diameter.DiameterMessageFormator.Output

    Object[][] tab = new Object[messages.size()][5];
    for (int i = 0; i < tab.length; i++)
    {
      MessageInfo info = (MessageInfo) messages.get(i);
      tab[i][0] = generateInfoLine(info);
      Output output = DiameterMessageFormator.getPretty().newOutput();
      output.add(info.getMessage());
      tab[i][1] = output.toString();
      tab[i][2] = info.getRemote();
    }
   
    return tab;
  }
View Full Code Here

Examples of org.cipango.callflow.diameter.DiameterMessageFormator.Output

    JmxMessageLogger logger = new JmxMessageLogger();
    logger.start();
    DiameterMessage message = Codecs.__message.decode(load("mar.dat"));
    message.getAVPs().add(Cx.CX_APPLICATION_ID.getAVP());
    //((DiameterAnswer) message).setResultCode(Common.DIAMETER_SUCCESS);
    Output output  = DiameterMessageFormator.getPretty().newOutput();
    output.add(message);
    System.out.println(output.toString());
  }
View Full Code Here

Examples of org.data2semantics.platform.core.data.Output

            String referencedOutput = referenceString.split("\\.")[1];
   

                Module  refModule = workflow.modules.get(referencedModule);
       
                Output refOutput = refModule.output(referencedOutput);
             
                ReferenceInput newInput = new ReferenceInput(this, inputName, description, inputType, refOutput, false);
               
                if(domain().typeMatches(refOutput, newInput))
                  newInput.setMultiValue(false);
                else
                if(isList(refOutput.dataType())){
                  newInput.setMultiValue(true);
              }
                multiInputRefs.add(newInput);
               
          } else {
View Full Code Here

Examples of org.dmg.pmml.pmml_4_1.descr.Output

        return sb.toString();
    }

    private static PMML createPMMLDocument( final ScoreCardModel model ) {
        final Scorecard pmmlScorecard = ScorecardPMMLUtils.createScorecard();
        final Output output = new Output();
        final Characteristics characteristics = new Characteristics();
        final MiningSchema miningSchema = new MiningSchema();

        Extension extension = new Extension();
        extension.setName( PMMLExtensionNames.SCORECARD_RESULTANT_SCORE_CLASS );
View Full Code Here

Examples of org.dmg.pmml.pmml_4_2.descr.Output

        for (Object serializable : pmmlDocument.getAssociationModelsAndBaselineModelsAndClusteringModels()){
            if (serializable instanceof Scorecard){
                Scorecard scorecard = (Scorecard)serializable;
                for (Object obj :scorecard.getExtensionsAndCharacteristicsAndMiningSchemas()){
                    if ( obj instanceof Output) {
                        Output output = (Output)obj;
                        final List<OutputField> outputFields = output.getOutputFields();
                        assertEquals(1, outputFields.size());
                        final OutputField outputField = outputFields.get(0);
                        assertNotNull(outputField);
                        assertEquals("totalScore", outputField.getName());
                        assertEquals("Final Score", outputField.getDisplayName());
View Full Code Here

Examples of org.eclipse.wst.wsdl.Output

    BindingOutput bindingOutput = bindingOperation.getEBindingOutput();
    List bindingFaults = bindingOperation.getEBindingFaults();

    Operation operation = bindingOperation.getEOperation();
    Input input = operation.getEInput();
    Output output = operation.getEOutput();
    List faults = operation.getEFaults();

    /******************************************************
     * Compare the Operation names
     ******************************************************/
    if (!namesEqual(bindingOperation.getName(), operation.getName()))
    {
      bindingOperation.setName(operation.getName());
    }

    /******************************************************
     * Compare the Output
     ******************************************************/
    if (output == null)
    {
      bindingOperation.setBindingOutput(null);
    }
    else
    {
      // Create BindingOutput if necessary
      if (bindingOutput == null)
      {
        BindingOutput newBindingOutput = factory.createBindingOutput();
        newBindingOutput.setEOutput(output);
        newBindingOutput.setName(output.getName());
        bindingOperation.setBindingOutput(newBindingOutput);
      }
      else
      {
        // Compare the Output names
        if (!namesEqual(bindingOutput.getName(), output.getName()))
        {
          bindingOutput.setName(output.getName());
        }
      }
    }
    generateBindingOutputContent(bindingOperation.getEBindingOutput());

View Full Code Here

Examples of org.eclipse.xpand2.output.Output

    with(new XdocStandaloneSetup());
    getInjector().injectMembers(this);
    this.pTest = new ParserTest();
    this.pTest.setUp();

    Output output = new OutputImpl();
    Outlet outlet = new Outlet(RESULT_DIR);
    output.addOutlet(outlet);

    ResourceLoaderFactory.setCurrentThreadResourceLoader(new ResourceLoaderImpl(getClass().getClassLoader()));
    xpandCtx = new XpandExecutionContextImpl(output, null);
    Map<String, Variable> variables = xpandCtx.getGlobalVariables();
    Variable srcDir = new Variable("srcDir", SRC_DIR);
View Full Code Here

Examples of org.graylog2.plugin.streams.Output

        }

        // Make sure the config values will be stored with the correct type.
        csor.configuration = ConfigurationMapConverter.convertValues(csor.configuration, outputSummary.requestedConfiguration);

        Output output = outputService.create(csor, getCurrentUser().getName());

        return Response.status(Response.Status.CREATED).entity(filterPasswordFields(output)).build();
    }
View Full Code Here

Examples of org.graylog2.plugin.streams.Output

    @ApiResponses(value = {
            @ApiResponse(code = 404, message = "No such stream/output on this node.")
    })
    public Response delete(@ApiParam(name = "outputId", value = "The id of the output that should be deleted", required = true) @PathParam("outputId") String outputId) throws org.graylog2.database.NotFoundException {
        checkPermission(RestPermissions.OUTPUTS_TERMINATE);
        Output output = outputService.load(outputId);
        outputService.destroy(output);

        return Response.status(Response.Status.OK).build();
    }
View Full Code Here

Examples of org.graylog2.plugin.streams.Output

        checkPermission(RestPermissions.STREAM_OUTPUTS_CREATE);

        final Stream stream = streamService.load(streamid);

        for (String outputId : request.outputs) {
            final Output output = outputService.load(outputId);
            streamService.addOutput(stream, output);
        }

        return Response.status(Response.Status.CREATED).build();
    }
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.