Class ProcessUnit.ConjunctiveLogRegExConsumer
java.lang.Object
de.iip_ecosphere.platform.configuration.maven.ProcessUnit.ConjunctiveLogRegExConsumer
- Enclosing class:
ProcessUnit
private static class ProcessUnit.ConjunctiveLogRegExConsumer
extends Object
implements Consumer<Pattern>
Consumes matching log regEx until all required are matched. Informs then the associated process unit.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConjunctiveLogRegExConsumer(List<Pattern> patterns, ProcessUnit unit, boolean notifyByLogMatch) Creates a consumer. -
Method Summary
-
Field Details
-
requiredPatterns
-
patterns
-
unit
-
notifyByLogMatch
private boolean notifyByLogMatch
-
-
Constructor Details
-
ConjunctiveLogRegExConsumer
ConjunctiveLogRegExConsumer(List<Pattern> patterns, ProcessUnit unit, boolean notifyByLogMatch) Creates a consumer.- Parameters:
patterns- the patterns that must be matched; may be null or empty for any, i.e.,unitwill never be informed thenunit- the process unit instancenotifyByLogMatch- whether the listener inunitshall be informed on a conjunctive match
-
-
Method Details