Class ChecksRepeatingCommand

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

    public class ChecksRepeatingCommand
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      ChecksRepeatingCommand​(java.util.Set<Check> checksToRun, org.drools.verifier.api.StatusUpdate onStatus, org.drools.verifier.api.Command onCompletion)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      boolean execute()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChecksRepeatingCommand

        public ChecksRepeatingCommand​(java.util.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