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 int
editCount
protected List<EntityEdit>
editsPreview
protected QAWarning.Severity
maxSeverity
protected int
nbWarnings
protected List<QAWarning>
warnings
-
Constructor Summary
Constructors Modifier Constructor Description protected
PreviewResults(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 int
getEditCount()
List<EntityEdit>
getEditsPreview()
QAWarning.Severity
getMaxSeverity()
int
getNbWarnings()
List<QAWarning>
getWarnings()
String
toString()
-
-
-
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()
-
-