Package org.verapdf.processor.reports
Class FeaturesBatchSummary
- java.lang.Object
-
- org.verapdf.processor.reports.AbstractBatchJobSummary
-
- org.verapdf.processor.reports.FeaturesBatchSummary
-
- All Implemented Interfaces:
BatchJobSummary
public final class FeaturesBatchSummary extends AbstractBatchJobSummary
- Version:
- 0.1 Created 18 Apr 2017:21:43:38
- Author:
- Carl Wilson carlwilson AT github
-
-
Field Summary
-
Fields inherited from class org.verapdf.processor.reports.AbstractBatchJobSummary
failedJobs, totalJobs
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeaturesBatchSummarydefaultInstance()booleanequals(Object obj)static FeaturesBatchSummaryfromValues(int totalJobs, int failedJobs)intgetFailedJobCount()intgetTotalJobCount()inthashCode()-
Methods inherited from class org.verapdf.processor.reports.AbstractBatchJobSummary
getSuccessfulJobCount
-
-
-
-
Method Detail
-
getFailedJobCount
public int getFailedJobCount()
- Returns:
- the number of jobs that failed to execute due to an exception.
-
getTotalJobCount
public int getTotalJobCount()
- Returns:
- the total number of validation jobs in the batch.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
defaultInstance
public static FeaturesBatchSummary defaultInstance()
-
fromValues
public static FeaturesBatchSummary fromValues(int totalJobs, int failedJobs)
-
-