Class ReoccurringLongPrintOutCommand

  • All Implemented Interfaces:
    org.kie.api.executor.Command, org.kie.api.executor.Reoccurring

    public class ReoccurringLongPrintOutCommand
    extends Object
    implements org.kie.api.executor.Command, org.kie.api.executor.Reoccurring
    Simple command to log the contextual data and return empty results as reoccurring job. Just for demo purpose.
    • Constructor Detail

      • ReoccurringLongPrintOutCommand

        public ReoccurringLongPrintOutCommand()
    • Method Detail

      • execute

        public org.kie.api.executor.ExecutionResults execute​(org.kie.api.executor.CommandContext ctx)
                                                      throws InterruptedException
        Specified by:
        execute in interface org.kie.api.executor.Command
        Throws:
        InterruptedException
      • getScheduleTime

        public Date getScheduleTime()
        Specified by:
        getScheduleTime in interface org.kie.api.executor.Reoccurring