flavours, int maxFailures,
+ int maxNumberOfDisplayedFailedChecks, boolean logSuccess,
+ boolean showErrorMessages, boolean showProgress);
/**
- * Creates a new {@link PDFAValidator} initialised with the passed profile,
- * requested fast failing behaviour and configured NOT to log passed checks.
+ * Creates a new {@link PDFAValidator} initialised with the passed profile and parameters, requested fast failing
+ * behaviour.
*
- * @param profile
- * the {@link ValidationProfile} to be enforced by the returned
- * {@code PDFAValidator}.
- * @param maxFailures
- * an {@code int} value that configures the {@code PDFAValidator}
- * to abort validation after {@code maxFailures} failed tests. If
- * {@code maxFailures} is less than 1 then the
- * {@code PDFAValidator} will complete the full validation
- * process.
- * @return a {@link PDFAValidator} instance initialised from the passed
- * parameters
+ * @param profile the {@link ValidationProfile} to be enforced by the returned
+ * {@code PDFAValidator}.
+ * @param maxFailures an {@code int} value that configures the {@code PDFAValidator} to abort
+ * validation after {@code maxFailures} failed tests. If {@code
+ * maxFailures} is less than 1 then the {@code PDFAValidator} will complete
+ * the full validation process.
+ * @param maxNumberOfDisplayedFailedChecks a max checks number to show
+ * @param logSuccess a flag to show success logs
+ * @param showErrorMessages a flag to show error message
+ * @param showProgress a flag to show validation progress
+ *
+ * @return a {@link PDFAValidator} instance initialised from the passed parameters
*/
- public PDFAValidator createFailFastValidator(ValidationProfile profile, int maxFailures, int maxNumberOfDisplayedFailedChecks,
- boolean logSuccess, boolean showErrorMessages, boolean showProgress);
+ public PDFAValidator createFailFastValidator(ValidationProfile profile, int maxFailures,
+ int maxNumberOfDisplayedFailedChecks, boolean logSuccess,
+ boolean showErrorMessages, boolean showProgress);
/**
* Obtain a new {@link MetadataFixer} instance.
diff --git a/core/src/main/java/org/verapdf/processor/reports/BatchJobSummary.java b/core/src/main/java/org/verapdf/processor/reports/BatchJobSummary.java
index 1f5fdd351..387ef081b 100644
--- a/core/src/main/java/org/verapdf/processor/reports/BatchJobSummary.java
+++ b/core/src/main/java/org/verapdf/processor/reports/BatchJobSummary.java
@@ -18,30 +18,36 @@
* If a copy of the MPL was not distributed with this file, you can obtain one at
* http://mozilla.org/MPL/2.0/.
*/
-/**
- *
- */
package org.verapdf.processor.reports;
/**
- * @author Carl Wilson
- * carlwilson AT github
- *
+ * @author Carl Wilson
+ * carlwilson AT github
* @version 0.1
- *
+ *
* Created 18 Apr 2017:18:24:01
*/
public interface BatchJobSummary {
+
/**
+ * Gets number of failed jobs.
+ *
* @return the number of jobs that failed to execute due to an exception.
*/
int getFailedJobCount();
/**
+ * Gets total number of validation jobs.
+ *
* @return the total number of validation jobs in the batch.
*/
int getTotalJobCount();
-
+
+ /**
+ * Gets number of successful jobs.
+ *
+ * @return the number of successful jobs
+ */
int getSuccessfulJobCount();
}