aQute.bnd.make.coverage
Class CoverageResource
java.lang.Object
aQute.lib.osgi.WriteResource
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverageResource
public CoverageResource(Collection<Clazz> testsuite,
Collection<Clazz> service)
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.