org.apache.tools.ant.taskdefs.optional.sitraka

Class CovMerge

public class CovMerge extends CovBase

Runs the snapshot merge utility for JProbe Coverage.

UNKNOWN: name="jpcovmerge" category="metrics"

Constructor Summary
CovMerge()
Method Summary
voidaddFileset(FileSet fs)
add a fileset containing the snapshots to include.
protected voidcheckOptions()
check for mandatory options
protected FilecreateParamFile()
create the parameters file that contains all file to merge and the output filename.
voidexecute()
execute the jpcovmerge by providing a parameter file
protected File[]getSnapshots()
get the snapshots from the filesets
voidsetTofile(File value)
Set the output snapshot file.
voidsetVerbose(boolean flag)
If true, perform the merge in verbose mode giving details about the snapshot processing.

Constructor Detail

CovMerge

public CovMerge()

Method Detail

addFileset

public void addFileset(FileSet fs)
add a fileset containing the snapshots to include.

checkOptions

protected void checkOptions()
check for mandatory options

createParamFile

protected File createParamFile()
create the parameters file that contains all file to merge and the output filename.

execute

public void execute()
execute the jpcovmerge by providing a parameter file

getSnapshots

protected File[] getSnapshots()
get the snapshots from the filesets

setTofile

public void setTofile(File value)
Set the output snapshot file.

setVerbose

public void setVerbose(boolean flag)
If true, perform the merge in verbose mode giving details about the snapshot processing.
Copyright