Codota Logo
WorkflowReport.addProcessorReport
Code IndexAdd Codota to your IDE (free)

How to use
addProcessorReport
method
in
org.apache.taverna.platform.report.WorkflowReport

Best Java code snippets using org.apache.taverna.platform.report.WorkflowReport.addProcessorReport (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: org.apache.taverna.engine/taverna-run-impl

protected WorkflowReport parseWorkflowReport(JsonNode reportJson,
    Path workflowReportJson, ActivityReport actReport,
    WorkflowBundle workflowBundle) throws ParseException {
  Workflow wf = (Workflow) getSubject(reportJson, workflowBundle);
  WorkflowReport workflowReport = new WorkflowReport(wf);
  workflowReport.setParentReport(actReport);
  parseDates(reportJson, workflowReport);
  for (JsonNode invocJson : reportJson.path("invocations"))
    // NOTE: Invocation constructor will add to parents
    parseInvocation(invocJson, workflowReportJson, workflowReport);
  for (JsonNode procJson : reportJson.path("processorReports")) {
    ProcessorReport procReport = parseProcessorReport(procJson,
        workflowReportJson, workflowReport, workflowBundle);
    workflowReport.addProcessorReport(procReport);
  }
  return workflowReport;
}
origin: org.apache.taverna.engine/taverna-execution-api

public WorkflowReport generateWorkflowReport(Workflow workflow) {
  WorkflowReport workflowReport = createWorkflowReport(workflow);
  for (Processor processor : workflow.getProcessors()) {
    ProcessorReport processorReport = createProcessorReport(processor);
    processorReport.setParentReport(workflowReport);
    workflowReport.addProcessorReport(processorReport);
    for (ProcessorBinding processorBinding : scufl2Tools.processorBindingsForProcessor(
        processor, profile)) {
      Activity boundActivity = processorBinding.getBoundActivity();
      ActivityReport activityReport = createActivityReport(boundActivity);
      activityReport.setParentReport(processorReport);
      if (scufl2Tools.containsNestedWorkflow(processor, profile)) {
        Workflow nestedWorkflow = scufl2Tools.nestedWorkflowForProcessor(processor,
            profile);
        WorkflowReport nestedWorkflowReport = generateWorkflowReport(nestedWorkflow);
        nestedWorkflowReport.setParentReport(activityReport);
        activityReport.setNestedWorkflowReport(nestedWorkflowReport);
      }
      processorReport.addActivityReport(activityReport);
    }
  }
  return workflowReport;
}
origin: org.apache.taverna.engine/taverna-run-impl

processorReport.setJobsCompletedWithErrors(2);
wfReport.addProcessorReport(processorReport);
org.apache.taverna.platform.reportWorkflowReportaddProcessorReport

Popular methods of WorkflowReport

  • getState
  • getSubject
  • <init>
  • getCompletedDate
  • getCreatedDate
  • getDataBundle
  • getProcessorReports
  • getStartedDate
  • setParentReport
  • addDates
  • addInvocation
  • addProcessor
  • addInvocation,
  • addProcessor,
  • addReportListener,
  • getCancelledDate,
  • getInvocations,
  • getLongestName,
  • getParentReport,
  • getPausedDate,
  • getPausedDates

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • getContentResolver (Context)
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BoxLayout (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now