Class ChecksRepeatingCommand

  • All Implemented Interfaces:
    org.drools.verifier.api.CancellableRepeatingCommand

    public class ChecksRepeatingCommand
    extends Object
    implements org.drools.verifier.api.CancellableRepeatingCommand
    This class handles processing the analysis itself. It supports "batched" processing of different "chunks". State is a snapshot of the Checks at the time the RepeatingCommand was instantiated.
    • Constructor Detail

      • ChecksRepeatingCommand

        public ChecksRepeatingCommand​(Set<Check> checksToRun,
                                      org.drools.verifier.api.StatusUpdate onStatus,
                                      org.drools.verifier.api.Command onCompletion)
    • Method Detail

      • execute

        public boolean execute()
        Specified by:
        execute in interface org.drools.verifier.api.CancellableRepeatingCommand
      • cancel

        public void cancel()
        Specified by:
        cancel in interface org.drools.verifier.api.CancellableRepeatingCommand