Package aQute.bnd.make.coverage
Class CoverageResource
java.lang.Object
aQute.bnd.osgi.WriteResource
aQute.bnd.make.coverage.CoverageResource
- All Implemented Interfaces:
Resource
,Closeable
,AutoCloseable
Creates an XML Coverage report. This class can be used as a resource so the
report is created only when the JAR is written.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Collection<Clazz>
(package private) Collection<Clazz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Tag
doMethod
(Tag tag, Clazz.MethodDef method) long
static Tag
toTag
(Map<Clazz.MethodDef, List<Clazz.MethodDef>> catalog) void
write
(OutputStream out) Methods inherited from class aQute.bnd.osgi.WriteResource
buffer, close, getExtra, openInputStream, setExtra, size
-
Field Details
-
testsuite
Collection<Clazz> testsuite -
service
Collection<Clazz> service
-
-
Constructor Details
-
CoverageResource
-
-
Method Details
-
lastModified
public long lastModified()- Specified by:
lastModified
in interfaceResource
- Specified by:
lastModified
in classWriteResource
-
write
- Specified by:
write
in interfaceResource
- Specified by:
write
in classWriteResource
- Throws:
IOException
-
toTag
-
doMethod
-