Пример #1
0
 public String getRunJSON(String runid) {
   ExecutionMonitorAPI monitor = config.getDomainExecutionMonitor();
   RuntimePlan plan = monitor.getRunDetails(runid);
   if (plan.getPlan() != null) {
     for (ExecutionStep step : plan.getPlan().getAllExecutionSteps()) {
       for (ExecutionFile file : step.getInputFiles()) {
         file.loadMetadataFromLocation();
       }
       for (ExecutionFile file : step.getOutputFiles()) {
         file.loadMetadataFromLocation();
       }
     }
   }
   return json.toJson(plan);
 }
Пример #2
0
 public RuntimeStep(ExecutionStep step) {
   super(step.getID());
   this.step = step;
   this.runtimeInfo = new RuntimeInfo();
   this.parents = new ArrayList<RuntimeStep>();
 }