Klasse ReportDetector
java.lang.Object
io.jenkins.plugins.coverage.adapter.CoverageAdapter
io.jenkins.plugins.coverage.detector.ReportDetector
- Alle implementierten Schnittstellen:
ExtensionPoint,Describable<CoverageAdapter>,Serializable
- Bekannte direkte Unterklassen:
AntPathReportDetector
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected Map<CoverageReportAdapter, List<File>> detectReports(List<FilePath> detectedFilePaths, Run<?, ?> run) Find all file that can be matched by detectable report adapter.findFiles(Run<?, ?> run, FilePath workspace, TaskListener listener) getReports(Run<?, ?> run, FilePath workspace, TaskListener listener) getReports(Run<?, ?> run, FilePath workspace, TaskListener listener, Predicate<? super FilePath> includeOnly) Von Klasse geerbte Methoden io.jenkins.plugins.coverage.adapter.CoverageAdapter
getDescriptor
-
Konstruktordetails
-
ReportDetector
public ReportDetector()
-
-
Methodendetails
-
findFiles
protected abstract List<FilePath> findFiles(Run<?, ?> run, FilePath workspace, TaskListener listener) throws CoverageException- Löst aus:
CoverageException
-
getReports
public Map<CoverageReportAdapter,List<File>> getReports(Run<?, ?> run, FilePath workspace, TaskListener listener, @CheckForNull Predicate<? super FilePath> includeOnly) throws CoverageException- Löst aus:
CoverageException
-
getReports
public Map<CoverageReportAdapter,List<File>> getReports(Run<?, ?> run, FilePath workspace, TaskListener listener) throws CoverageException- Löst aus:
CoverageException
-
detectReports
protected Map<CoverageReportAdapter,List<File>> detectReports(List<FilePath> detectedFilePaths, Run<?, ?> run) throws IOException, InterruptedException, ReflectiveOperationExceptionFind all file that can be matched by detectable report adapter.- Parameter:
detectedFilePaths- path of detected files- Gibt zurück:
CoverageReportAdapterand matched file.- Löst aus:
IOExceptionInterruptedExceptionReflectiveOperationException
-