public class SloccountResult extends Object implements Serializable
Constructor and Description |
---|
SloccountResult(SloccountReportStatistics statistics,
String encoding,
boolean commentIsCode,
SloccountReport report,
Run<?,?> owner) |
Modifier and Type | Method and Description |
---|---|
Api |
getApi()
Gets the remote API for the build result.
|
SloccountResult |
getFolderResult(String folder) |
SloccountResult |
getLanguageResult(String language) |
SloccountResult |
getModuleResult(String module)
Get result for a specific module.
|
Run<?,?> |
getOwner() |
SloccountReport |
getReport() |
SloccountReportStatistics |
getStatistics()
Get the statistics.
|
boolean |
isEmpty()
Check that the result is empty.
|
protected Object |
readResolve()
Convert legacy data in format of plugin version 1.10 to the new one that
uses statistics.
|
void |
setOwner(Run<?,?> o) |
public SloccountResult(SloccountReportStatistics statistics, String encoding, boolean commentIsCode, SloccountReport report, Run<?,?> owner)
public SloccountReport getReport()
public Run<?,?> getOwner()
public void setOwner(Run<?,?> o)
public SloccountReportStatistics getStatistics()
protected Object readResolve()
public boolean isEmpty()
public SloccountResult getLanguageResult(String language)
public SloccountResult getModuleResult(String module)
module
- the modulepublic SloccountResult getFolderResult(String folder)
public Api getApi()
Copyright © 2016–2022. All rights reserved.