Examples of addParameter()


Examples of org.apache.jetspeed.om.registry.base.BasePortletEntry.addParameter()

            {
                SecurityReference ref2 = new BaseSecurityReference();
                ref2.setParent(pp.getSecurityRef());
                cp.setSecurityRef(ref2);
            }           
            pe.addParameter(cp);
        }
       
        // media types
        Iterator mtypes = pde.getPortletMediatypes().iterator();
        while (mtypes.hasNext())

Examples of org.apache.jmeter.testelement.TestPlan.addParameter()

     * @param deltaT
     *            Time interval from the previous request
     */
    private void addTimers(JMeterTreeModel model, JMeterTreeNode node, long deltaT) {
        TestPlan variables = new TestPlan();
        variables.addParameter("T", Long.toString(deltaT)); // $NON-NLS-1$
        ValueReplacer replacer = new ValueReplacer(variables);
        JMeterTreeNode mySelf = model.getNodeOf(this);
        Enumeration<JMeterTreeNode> children = mySelf.children();
        while (children.hasMoreElements()) {
            JMeterTreeNode templateNode = children.nextElement();

Examples of org.apache.maven.plugin.descriptor.MojoDescriptor.addParameter()

        StringBuilder sb = new StringBuilder();
        MojoDescriptor md = new MojoDescriptor();
        Parameter parameter = new Parameter();
        parameter.setName( "name" );
        parameter.setExpression( "${valid.expression}" );
        md.addParameter( parameter );
       
        try
        {
            PrivateAccessor.invoke( new DescribeMojo(), "describeMojoParameters", new Class[] { MojoDescriptor.class,
                StringBuilder.class }, new Object[] { md, sb } );

Examples of org.apache.maven.tools.plugin.ExtendedMojoDescriptor.addParameter()

                parameter.setExpression( StringUtils.isEmpty( property ) ? "" : "${" + property + "}" );
                parameter.setType( parameterAnnotationContent.getClassName() );
                parameter.setSince( parameterAnnotationContent.getSince() );
                parameter.setRequired( parameterAnnotationContent.required() );

                mojoDescriptor.addParameter( parameter );
            }

            // Component annotations
            Map<String, ComponentAnnotationContent> components =
                getComponentsParentHierarchy( mojoAnnotatedClass, new HashMap<String, ComponentAnnotationContent>(),

Examples of org.apache.muse.tools.generator.util.ConfigurationData.addParameter()

   * @return
   *       A cloned configuration with our result added.
   */
  private ConfigurationData createResultData(ConfigurationData configuration) {
    ConfigurationData resultData = (ConfigurationData) configuration.clone();
    resultData.addParameter(ConfigurationData.CAPABILITIES_MAP_LIST, _capabilityMaps);
    return resultData;
  }

  /**
   * Find all of the properties that the inspector saw and split them up by

Examples of org.apache.muse.ws.addressing.EndpointReference.addParameter()

            QName name = (QName)i.next();
           
            OMElement axiomValue = (OMElement)parameters.get(name);
            Element domValue = convertToDOM(axiomValue);
           
            epr.addParameter(domValue);
        }
       
        return epr;
    }
   

Examples of org.apache.myfaces.flow.FlowCallNodeImpl.addParameter()

                        application.getExpressionFactory().createValueExpression(
                                facesContext.getELContext(), methodCall.getDefaultOutcome(), Object.class));
                }
                for (FacesFlowMethodParameter parameter : methodCall.getParameterList())
                {
                    node.addParameter(
                        new ParameterImpl(parameter.getClassName(),
                        application.getExpressionFactory().createValueExpression(
                            facesContext.getELContext(), parameter.getValue(), Object.class)) );
                }
                flow.addMethodCall(node);

Examples of org.apache.myfaces.flow.MethodCallNodeImpl.addParameter()

                        application.getExpressionFactory().createValueExpression(
                                facesContext.getELContext(), methodCall.getDefaultOutcome(), Object.class));
                }
                for (FacesFlowMethodParameter parameter : methodCall.getParameterList())
                {
                    node.addParameter(
                        new ParameterImpl(parameter.getClassName(),
                        application.getExpressionFactory().createValueExpression(
                            facesContext.getELContext(), parameter.getValue(), Object.class)) );
                }
                flow.addMethodCall(node);

Examples of org.apache.myfaces.portlet.faces.util.QueryString.addParameter()

    {
      throw new FacesException("encodeActionURL:  unable to recognize viewId");
    }
   
    // put the viewId in the QueryStr.
    queryStr.addParameter(ACTION_ID_PARAMETER_NAME, viewId);

    if (mPhase == Bridge.PortletPhase.RENDER_PHASE)
    { // render - write
      // the viewId into
      // the response

Examples of org.apache.pluto.driver.url.PortalURL.addParameter()

            if (st.hasMoreTokens()) {
              value = st.nextToken();
            }
            //set the
            PortalURLParameter param = decodeParameter(token, value);
            portalURL.addParameter(param);


          }
            else if (token.startsWith(PREFIX + PRIVATE_RENDER_PARAM)){
                String value = null;
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.