net.sourceforge.groboutils.codecoverage.v2.datastore
Interface IClassMetaDataWriter

All Known Implementing Classes:
DirClassMetaDataWriter

public interface IClassMetaDataWriter

Knows how to store the meta-data in a repository.

Since:
December 15, 2002
Version:
$Date: 2003/02/11 23:46:50 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 void close()
          Closes off the writer's connection to the store.
 void writeClassRecord(ClassRecord cr)
          Writes the given class record and its associated marks for this Analysis Module to the repository.
 

Method Detail

writeClassRecord

public void writeClassRecord(ClassRecord cr)
                      throws java.io.IOException
Writes the given class record and its associated marks for this Analysis Module to the repository. If class record cr has already been written, another call will overwrite any existing data.

Parameters:
cr - the class record to write to the underlying repository.
Throws:
java.io.IOException - thrown if there is an underlying problem, or if the close method has been executed.
java.lang.IllegalArgumentException - if cr is null.

close

public void close()
           throws java.io.IOException
Closes off the writer's connection to the store.

Throws:
java.io.IOException - thrown if there is an underlying problem, or if the close method has been executed before.


Copyright © 2001-2003 by The GroboUtils Project