Package org.openrefine.wikibase.commands
Class PreviewResults
- java.lang.Object
-
- org.openrefine.wikibase.commands.PreviewResults
-
public class PreviewResults extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected inteditCountprotected List<EntityEdit>editsPreviewprotected QAWarning.SeveritymaxSeverityprotected intnbWarningsprotected List<QAWarning>warnings
-
Constructor Summary
Constructors Modifier Constructor Description protectedPreviewResults(List<QAWarning> warnings, QAWarning.Severity maxSeverity, int nbWarnings, int editCount, List<EntityEdit> firstEdits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEditCount()List<EntityEdit>getEditsPreview()QAWarning.SeveritygetMaxSeverity()intgetNbWarnings()List<QAWarning>getWarnings()StringtoString()
-
-
-
Field Detail
-
maxSeverity
protected QAWarning.Severity maxSeverity
-
nbWarnings
protected int nbWarnings
-
editCount
protected int editCount
-
editsPreview
protected List<EntityEdit> editsPreview
-
-
Constructor Detail
-
PreviewResults
protected PreviewResults(List<QAWarning> warnings, QAWarning.Severity maxSeverity, int nbWarnings, int editCount, List<EntityEdit> firstEdits)
-
-
Method Detail
-
getMaxSeverity
public QAWarning.Severity getMaxSeverity()
-
getNbWarnings
public int getNbWarnings()
-
getEditCount
public int getEditCount()
-
getEditsPreview
public List<EntityEdit> getEditsPreview()
-
-