public class XBRLParallelValidation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
XBRLParallelValidation.ValidationCode<T>
Interface of a piece of code that performs validation on a single item.
|
Constructor and Description |
---|
XBRLParallelValidation() |
Modifier and Type | Method and Description |
---|---|
static void |
shutdown()
Manually shutdown all validation threads started.
|
static <T> void |
validateInParallel(java.util.Iterator<? extends T> iterator,
XBRLParallelValidation.ValidationCode<? super T> code,
XBRLValidationReport report)
Executes a loop over items in the iterator and performs validation in
parallel.
|
public static void shutdown()
public static <T> void validateInParallel(java.util.Iterator<? extends T> iterator, XBRLParallelValidation.ValidationCode<? super T> code, XBRLValidationReport report)
T
- the generic type that the iterator returns. This is, for example, XBRLFacts, or XBRLContext etc.iterator
- the iterator of items to validatecode
- the code that performs validation of items of type Treport
- the XBRLValidationReport to add messages toXBRLParallelValidation.ValidationCode
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa