Examples of parameters()


Examples of org.jrest4guice.persistence.ibatis.annotations.ParameterMap.parameters()

      if (parameterMapIds.contains(id))
        return;
      parameterMapIds.add(id);

      Class<?> parameterClass = annotation.parameterClass();
      String[] parameters = annotation.parameters();

      parameterMapSb.append("  <parameterMap id=\"" + id + "\" class=\""
          + parameterClass.getName() + "\">");
      for (String parameter : parameters) {
        parameterMapSb.append("\n    <parameter property=\""
View Full Code Here

Examples of org.mockserver.mockserver.MappedRequest.parameters()

                ctx.pipeline().remove(this);
                ctx.fireChannelRead(request);

            } else if (mappedRequest.matches(HttpMethod.PUT, "/dumpToLog")) {

                List<String> typeValues = mappedRequest.parameters().get("type");
                boolean asJava = typeValues != null && !typeValues.isEmpty() && "java".equals(typeValues.get(0));
                logFilter.dumpToLog((mappedRequest.content() != null ? httpRequestSerializer.deserialize(mappedRequest.content()) : null), asJava);
                writeResponse(ctx, request, HttpResponseStatus.ACCEPTED);

            } else if (mappedRequest.matches(HttpMethod.PUT, "/reset")) {
View Full Code Here

Examples of org.qi4j.library.eventsourcing.application.api.ApplicationEvent.parameters()

            } catch (JSONException e)
            {
                throw new IllegalArgumentException( "Could not create event", e );
            }

            prototype.parameters().set( json.toString() );

            ApplicationEvent event = builder.newInstance();

            return event;
        }
View Full Code Here

Examples of org.qi4j.library.eventsourcing.domain.api.DomainEventValue.parameters()

            } catch (JSONException e)
            {
                throw new IllegalArgumentException( "Could not create eventValue", e );
            }

            prototype.parameters().set( json.toString() );

            DomainEventValue eventValue = builder.newInstance();

            return eventValue;
        }
View Full Code Here

Examples of org.qi4j.samples.forum.domainevent.DomainEventValue.parameters()

                idx++;
                String name = "param" + idx;
                ValueBuilder<ParameterValue> parameterBuilder = module.newValueBuilder( ParameterValue.class );
                parameterBuilder.prototype().name().set( name );
                parameterBuilder.prototype().value().set( arg );
                prototype.parameters().get().add( parameterBuilder.newInstance() );
            }

            Iterables.addAll( prototype.selection().get(), Iterables.map( new Function<Object, String>()
            {
                @Override
View Full Code Here

Examples of org.testng.annotations.Configuration.parameters()

    result.setAfterTest(c.afterTest());
    result.setBeforeSuite(c.beforeSuite());
    result.setAfterSuite(c.afterSuite());
    result.setBeforeGroups(c.beforeGroups());
    result.setAfterGroups(c.afterGroups());
    result.setParameters(c.parameters());   
    result.setEnabled(c.enabled());
   
    result.setGroups(join(c.groups(), findInheritedStringArray(cls, Test.class, "groups")));
    result.setDependsOnGroups(c.dependsOnGroups());
    result.setDependsOnMethods(c.dependsOnMethods());
View Full Code Here

Examples of org.testng.annotations.Factory.parameters()

  @SuppressWarnings({"deprecation"})
  private IAnnotation createFactoryTag(Annotation a) {
    FactoryAnnotation result = new FactoryAnnotation();
    Factory c = (Factory) a;
    result.setParameters(c.parameters());
   
    return result;
  }

  private IAnnotation createParametersTag(Annotation a) {
View Full Code Here

Examples of org.testng.annotations.Test.parameters()

    TestAnnotation result = new TestAnnotation();
    Test test = (Test) a;
   
    result.setEnabled(test.enabled());
    result.setGroups(join(test.groups(), findInheritedStringArray(cls, Test.class, "groups")));
    result.setParameters(test.parameters());
    result.setDependsOnGroups(join(test.dependsOnGroups(),
        findInheritedStringArray(cls, Test.class, "dependsOnGroups")));
    result.setDependsOnMethods(join(test.dependsOnMethods(),
        findInheritedStringArray(cls, Test.class, "dependsOnMethods")));
    result.setTimeOut(test.timeOut());
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.