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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
static aQute.lib.tag.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
-
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
-