public class StepReports
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
completed |
private static int |
ESTIMATED_SHOPS_IN_STORE |
private int |
failures |
static int |
MAX_ERRORS |
private java.util.List<StepReport> |
stepReports |
private static int |
STEPS_NUMBER_REPORT |
Constructor and Description |
---|
StepReports() |
Modifier and Type | Method and Description |
---|---|
void |
add(StepReport stepReport) |
int |
getCompleted() |
int |
getFailures() |
java.util.List<StepReport> |
getReports() |
boolean |
isMaxErrorsReached() |
boolean |
isReadyForReporting() |
void |
setCompleted(int completed) |
void |
setFailures(int failures) |
void |
setReports(java.util.List<StepReport> reports)
Used only for deserialization.
|
void |
throwIfMaxErrors() |
java.lang.String |
toString() |
private static final int ESTIMATED_SHOPS_IN_STORE
public static final int MAX_ERRORS
private static final int STEPS_NUMBER_REPORT
private java.util.List<StepReport> stepReports
private int failures
private int completed
public void add(StepReport stepReport)
public java.util.List<StepReport> getReports()
public void setReports(java.util.List<StepReport> reports)
public int getCompleted()
public void setCompleted(int completed)
public int getFailures()
public void setFailures(int failures)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isReadyForReporting()
public boolean isMaxErrorsReached()
public void throwIfMaxErrors()