Examples of addParam()


Examples of org.lilystudio.javascript.statement.VariableStatement.addParam()

        statement.setParent(this);
        statements.add(0, statement);
      }
      for (size--; size >= 0; size--) {
        Constant constant = constants.get(size);
        statement.addParam(statement.getLineno(), constant.getString(false),
            constant.getLiteral());
      }
    }

    writer.write("function");
View Full Code Here

Examples of org.openbankdata.core.client.BankRequest.addParam()

    return account;
  }

  private BankRequest getAccountsRequest() {
    BankRequest bankRequest = new BankRequest(ACCOUNTS_URL);
    bankRequest.addParam("homeForm:balance", "Saldo");
    bankRequest.addParam("homeForm", "homeForm");
    return bankRequest;
  }

  private BankResponse getExpectedAccountsResponse() {
View Full Code Here

Examples of org.openbp.cockpit.modeler.figures.process.SocketFigure.addParam()

            targetSocket.addParam(param, - 1);
            param.maintainReferences(ModelObject.RESOLVE_GLOBAL_REFS | ModelObject.RESOLVE_LOCAL_REFS);

            // Add the corresponding param figure and select it
            ParamFigure paramFigure = socketFigure.addParam(param, - 1);
            workspaceView.addToSelection(paramFigure);

            ViewModeMgr.getInstance().setDataLinkVisible(true);
          }
View Full Code Here

Examples of org.openbp.core.model.item.activity.ActivitySocket.addParam()

          }
        }
        else
        {
          // Parameter does not exist yet, add it
          socket.addParam(newParam);
          update = true;
        }
      }
    }
View Full Code Here

Examples of org.openbp.core.model.item.process.NodeSocket.addParam()

        param = null;
      }

      if (param != null)
      {
        socket.addParam(param);
      }
    }
  }

  //////////////////////////////////////////////////
View Full Code Here

Examples of org.sonar.api.batch.rule.internal.NewRule.addParam()

        newRule.setDebtSubCharacteristic(effectiveCharacteristic(ruleDto, ruleKey, debtModel).key());
        newRule.setDebtRemediationFunction(effectiveFunction(ruleDto, ruleKey, durations));
      }

      for (RuleParamDto ruleParamDto : paramDtosByRuleId.get(ruleDto.getId())) {
        newRule.addParam(ruleParamDto.getName())
          .setDescription(ruleParamDto.getDescription());
      }
    }
    return rulesBuilder.build();
  }
View Full Code Here

Examples of org.sonar.server.qualityprofile.db.ActiveRuleDao.addParam()

    dao.insert(dbSession, activeRule);
    for (Map.Entry<String, String> param : change.getParameters().entrySet()) {
      if (param.getValue() != null) {
        ActiveRuleParamDto paramDto = ActiveRuleParamDto.createFor(context.ruleParamsByKeys().get(param.getKey()));
        paramDto.setValue(param.getValue());
        dao.addParam(dbSession, activeRule, paramDto);
      }
    }
    return activeRule;
  }
View Full Code Here

Examples of stanfordlogic.util.CommandLineParser.addParam()

     */
    public static void main(String[] args)
    {
        CommandLineParser clp = new CommandLineParser();
        clp.addFlag("--daemon");
        clp.addParam("--port");
        clp.setUsage("usage: <--daemon> <--port='portNum'>");

        clp.parse(args);
        boolean daemonMode = clp.argSpecified("--daemon");
        int port = clp.argSpecified("--port") ? clp.getArgAsInt("--port")
View Full Code Here

Examples of uk.co.badgersinfoil.metaas.dom.ASMethod.addParam()

      proxyType.setSuperclass(baseType.getName());
      proxyImports.add(baseType.getName());
    }

    ASMethod callMethod = proxyType.newMethod(Constants.METHOD_CALL, Visibility.PROTECTED, "Object");
    callMethod.addParam("name", "String");
    callMethod.addParam("...args", null);
    callMethod.addStmt("throw new Error(\"Not Implemented\");");

    ASMethod resultMethod = proxyType.newMethod(Constants.METHOD_ON_RESULT, Visibility.PROTECTED, Type.VOID.getName());
    resultMethod.addParam("result", "Object");
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.