HiRISE

HiRISE.HiReport.system
Class PipelineRuntimeCollector

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.system.PipelineRuntimeCollector

public class PipelineRuntimeCollector
extends DataProvider

Analyzes Conductor log files to collect runtime data.


Field Summary
 
Fields inherited from class HiRISE.HiReport.DataProvider
Anaglyph, CCD, Cycles, DTM, EDR, FS, Geo, HiP, HiRISE_ROOT, Jit, logger, Mars_Years, Obs, Orbits, PAP, PDTM, PEDR, PHiP, PPL, PPL_map, PRDR, PS, PXP, RDR, RS1, RS2, SO, SOP, SOPO, SOPO_map, SOST, SOST_map, SR, ST, Tags, Web, XP
 
Constructor Summary
PipelineRuntimeCollector()
           
 
Method Summary
static void main(String[] args)
          Command-line input, should be piped a list of log filenames on standard input
 HiRISE.HiReport.system.PipelineRuntimeCollector.RuntimeRecord parse(File log)
          Parses the date of execution, start time, end time and observation ID from a single log file.
 
Methods inherited from class HiRISE.HiReport.DataProvider
getConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineRuntimeCollector

public PipelineRuntimeCollector()
Method Detail

parse

public HiRISE.HiReport.system.PipelineRuntimeCollector.RuntimeRecord parse(File log)
                                                                    throws ParseException,
                                                                           IOException
Parses the date of execution, start time, end time and observation ID from a single log file.

Parameters:
log - The log file to parse.
Returns:
New record or null if the log represents a failure
Throws:
ParseException - There are issues parsing the file.
IOException - File could not be open or closed

main

public static void main(String[] args)
Command-line input, should be piped a list of log filenames on standard input

Parameters:
args - filename for CSV output

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona