aQute.bnd.make.coverage
Class CoverageResource

java.lang.Object
  extended by aQute.lib.osgi.WriteResource
      extended by aQute.bnd.make.coverage.CoverageResource
All Implemented Interfaces:
Resource

public class CoverageResource
extends WriteResource

Creates an XML Coverage report. This class can be used as a resource so the report is created only when the JAR is written.


Constructor Summary
CoverageResource(Collection<Clazz> testsuite, Collection<Clazz> service)
           
 
Method Summary
 long lastModified()
           
static Tag toTag(Map<Clazz.MethodDef,List<Clazz.MethodDef>> catalog)
           
 void write(OutputStream out)
           
 
Methods inherited from class aQute.lib.osgi.WriteResource
getExtra, openInputStream, setExtra
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageResource

public CoverageResource(Collection<Clazz> testsuite,
                        Collection<Clazz> service)
Method Detail

lastModified

public long lastModified()
Specified by:
lastModified in interface Resource
Specified by:
lastModified in class WriteResource

write

public void write(OutputStream out)
           throws IOException
Specified by:
write in interface Resource
Specified by:
write in class WriteResource
Throws:
IOException

toTag

public static Tag toTag(Map<Clazz.MethodDef,List<Clazz.MethodDef>> catalog)


Copyright © 2012 aQute SARL. All Rights Reserved.