Class DelayedPrintOutCommand

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

    public class DelayedPrintOutCommand
    extends PrintOutCommand
    Simple command to log the contextual data after given (10 sec by default) delay and return empty results. Just for demo purpose.
    • Constructor Detail

      • DelayedPrintOutCommand

        public DelayedPrintOutCommand()
    • Method Detail

      • execute

        public org.kie.api.executor.ExecutionResults execute​(org.kie.api.executor.CommandContext ctx)
        Specified by:
        execute in interface org.kie.api.executor.Command
        Overrides:
        execute in class PrintOutCommand