Package com.wordpress.salaboy.smarttasks.formbuilder.api.output

Examples of com.wordpress.salaboy.smarttasks.formbuilder.api.output.TaskForm


    ConnectionData connectionData = new ConnectionData(entity);
    helper.connect(connectionData);
    String taskType = this.getTaskType();

    String stringTaskform = helper.getTaskForm(id, taskType, profile);
    TaskForm deserializedForm = (TaskForm) yaml.load(stringTaskform);
    taskInfo = deserializedForm.getInputs();

    taskOutput = deserializedForm.getOutputs();
  }
View Full Code Here


        helper.connect(connectionData);
//        taskHelper = helper.getTaskSupportHelper(id, name.trim(), profile);
        try {
            String stringTaskInfo = helper.getTaskForm(id, name.trim(), profile);
            Yaml yaml = new Yaml();
            TaskForm deserializedInfo = (TaskForm) yaml
                    .load(stringTaskInfo);
            Map<String, Object> taskInfo = deserializedInfo.getInputs();
           
            Map<String, Object> taskOutput = deserializedInfo.getOutputs();
            TaskOperationsDefinition operationsDef = helper
                    .getTaskOperations(id);
            model.addAttribute("operations", operationsDef);
            model.addAttribute("taskInput", taskInfo);
            model.addAttribute("taskOutput", taskOutput);
View Full Code Here

TOP

Related Classes of com.wordpress.salaboy.smarttasks.formbuilder.api.output.TaskForm

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.