Examples of TdrDynamicRule


Examples of com.alu.e3.data.model.sub.TdrDynamicRule

    return s;
  }

  private static TdrDynamicRule toDataModel(DynamicTdr dynamicTdr) {
    if (dynamicTdr==null) throw new IllegalArgumentException("dynamicTdr must not be null");
    TdrDynamicRule t = new TdrDynamicRule();
    t.setHttpHeaderName  (dynamicTdr.getHttpHeaderName());
    t.setTdrPropName  (dynamicTdr.getTdrPropName());
    t.setExtractFrom  (dynamicTdr.getExtractFrom());

    if(dynamicTdr.getTypes() != nullt.getTypes().addAll(dynamicTdr.getTypes().getType());

    return t;
  }
View Full Code Here

Examples of com.alu.e3.data.model.sub.TdrDynamicRule

   * @param headerName
   * @param types
   * @return
   */
  public static TdrDynamicRule getDynamicRule(String name, String headerName, ExtractFromType efType, String...types){
    TdrDynamicRule rule = new TdrDynamicRule();
    rule.setTdrPropName(name);
    rule.setHttpHeaderName(headerName);
    rule.setExtractFrom(efType);

    for(String type : types)
      rule.getTypes().add(type);

    return rule;
  }
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.