Examples of params()


Examples of ch.ralscha.extdirectspring.annotation.ExtDirectDocParameters.params()

    if (!documentation.value().isEmpty()) {
      ActionDoc actionDoc = new ActionDoc(getAction(), documentation.value(), documentation.author(),
          documentation.version(), documentation.deprecated());
      ExtDirectDocParameters docParameters = documentation.parameters();
      if (null != docParameters) {
        String[] params = docParameters.params();
        String[] descriptions = docParameters.descriptions() == null ? new String[params.length]
            : docParameters.descriptions();
        if (params.length == descriptions.length) {
          for (int i = 0; i < params.length; i++) {
            actionDoc.getParameters().put(params[i],
View Full Code Here

Examples of org.agorava.api.oauth.application.OAuthApplication.params()

                    pp.addDefinitionError(new AgoravaException("Unable to create Settings Builder with class " +
                            builderClass, e));
                }

                builderOAuthApp.qualifier(qual)
                        .params(app.params());

                pp.setProducer(new OAuthAppSettingsProducerWithBuilder(builderOAuthApp, qual));
            } else
                pp.addDefinitionError(new AgoravaException("@OAuthApplication are only supported on Field. Agorava cannot " +
                        "process producer " + annotatedMember.getJavaMember().getName() + " in class " + annotatedMember
View Full Code Here

Examples of org.apache.commons.scxml.model.Invoke.params()

                    internalEvents.add(te);
                    continue;
                }
                inv.setParentStateId(s.getId());
                inv.setSCInstance(scInstance);
                List params = i.params();
                Map args = new HashMap();
                for (Iterator pIter = params.iterator(); pIter.hasNext();) {
                    Param p = (Param) pIter.next();
                    String argExpr = p.getExpr();
                    Object argValue = null;
View Full Code Here

Examples of org.apache.etch.interoptester.Test.params()

  {
    Test t = Test.parse( itest, parseXml(
      "<test name=\"foo\"><jig><prog name=\"bar\"/></jig></test>" ) );
    assertSame( itest, t.itest() );
    assertEquals( "foo", t.name() );
    assertEquals( 0, t.params().size() );
    assertEquals( 0, t.setup().size() );
    assertEquals( 0, t.support().size() );
    assertEquals( "bar", t.jig().name() );
    assertEquals( 0, t.cleanup().size() );
  }
View Full Code Here

Examples of org.apache.hadoop.gateway.descriptor.FilterDescriptor.params()

    assertThat( filters.size(), is( 1 ) );
    FilterDescriptor filter = filters.get( 0 );
    assertThat( filter.role(), is( "pivot") );
    assertThat( filter.name(), is( "jersey" ) );
    assertThat( filter.impl(), is( "org.glassfish.jersey.servlet.ServletContainer" ) );
    List<FilterParamDescriptor> params = filter.params();
    assertThat( params.size(), is( 1 ) );
    FilterParamDescriptor param = params.get( 0 );
    assertThat( param.name(), is( "jersey.config.server.provider.packages" ) );
    assertThat( param.value(), is( "test-package-1;test-package-2"  ) );
View Full Code Here

Examples of org.apache.hadoop.gateway.descriptor.GatewayDescriptor.params()

  private static Map<String, String> createParams( FilterDescriptor filter ) {
    Map<String, String> paramMap = new HashMap<String, String>();
    ResourceDescriptor resource = filter.up();
    GatewayDescriptor gateway = resource.up();
    for( GatewayParamDescriptor param : gateway.params() ) {
      paramMap.put( param.name(), param.value() );
    }
    for( ResourceParamDescriptor param : resource.params() ) {
      paramMap.put( param.name(), param.value() );
    }
View Full Code Here

Examples of org.apache.hadoop.gateway.descriptor.ResourceDescriptor.params()

    ResourceDescriptor resource = filter.up();
    GatewayDescriptor gateway = resource.up();
    for( GatewayParamDescriptor param : gateway.params() ) {
      paramMap.put( param.name(), param.value() );
    }
    for( ResourceParamDescriptor param : resource.params() ) {
      paramMap.put( param.name(), param.value() );
    }
    //TODO: Should all elements of the resource and gateway descriptor somehow be added to the filter params?
    //TODO: Should we use some composite params object instead of copying all these name value pairs?
    paramMap.put( "pattern", resource.pattern() );
View Full Code Here

Examples of org.apache.struts2.json.annotations.JSONFieldBridge.params()

        JSONFieldBridge fieldBridgeAnn = baseAccessor.getAnnotation(JSONFieldBridge.class);
        if (fieldBridgeAnn != null) {
            Class impl = fieldBridgeAnn.impl();
            FieldBridge instance = (FieldBridge) impl.newInstance();

            if (fieldBridgeAnn.params().length > 0 && ParameterizedBridge.class.isAssignableFrom(impl)) {
                Map<String, String> params = new HashMap<String, String>(fieldBridgeAnn.params().length);
                for (JSONParameter param : fieldBridgeAnn.params()) {
                    params.put(param.name(), param.value());
                }
                ((ParameterizedBridge) instance).setParameterValues(params);
View Full Code Here

Examples of org.beangle.model.query.builder.Condition.params()

      queryGroup = true;
    }
    if (queryGroup) {
      sb.append(')');
      Condition groupCondition = new Condition(sb.toString());
      groupCondition.params(params);
      userQuery.where(groupCondition);
    }

    Long categoryId = getLong("categoryId");
    if (null != categoryId) {
View Full Code Here

Examples of org.beangle.model.query.builder.Condition.params()

      }
      index++;
    }
    if (conBuffer.length() > 0) {
      Condition con = new Condition(conBuffer.toString());
      con.params(paramValues);
      query.where(con);
    }
  }

  private RestrictField getRestrictField(String fieldName) {
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.