Package com.founder.fix.bpmn2extensions.coreconfig

Examples of com.founder.fix.bpmn2extensions.coreconfig.TaskCommandConfig


         JsonNode commandInfoBase = JsonConverterUtil.getChildElementByProperty("commandinfobase", "name", baseNodeArray);
         commandInfoBase = commandInfoBase.get("properties").get(0);
         ArrayNode complexItemsNode =(ArrayNode)commandInfoBase.get("complexItems");
         JsonNode commandType = JsonConverterUtil.getChildElementByProperty("commandtype", "id", complexItemsNode);
         ArrayNode arrayNode = objectMapper.createArrayNode();
         TaskCommandConfig  taskCommandConfig = ProcessEngineManagement.getDefaultProcessEngine().getProcessEngineConfiguration().getTaskCommandConfig();
         List<TaskCommandDef> commandDefs = taskCommandConfig.getTaskCommandDef();
         for(TaskCommandDef taskCommandDef :commandDefs){
            ObjectNode typeNode = objectMapper.createObjectNode();
            if(StringUtil.getBoolean(taskCommandDef.getIsEnabled())&& !"system".equals(taskCommandDef.getType())){
              typeNode.put("id",taskCommandDef.getId());
                 typeNode.put("title", taskCommandDef.getName());
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTaskCommandConfig(TaskCommandConfig newTaskCommandConfig, NotificationChain msgs) {
    TaskCommandConfig oldTaskCommandConfig = taskCommandConfig;
    taskCommandConfig = newTaskCommandConfig;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CoreconfigPackage.FIX_FLOW_CONFIG__TASK_COMMAND_CONFIG, oldTaskCommandConfig, newTaskCommandConfig);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

TOP

Related Classes of com.founder.fix.bpmn2extensions.coreconfig.TaskCommandConfig

Copyright © 2018 www.massapicom. 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.