org.jbpm.executor.commands

## Class DelayedPrintOutCommand

- java.lang.Object
- - org.jbpm.executor.commands.PrintOutCommand
  - - org.jbpm.executor.commands.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 Summary

    Constructors
    Constructor and Description
    `DelayedPrintOutCommand()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.kie.api.executor.ExecutionResults` | `execute(org.kie.api.executor.CommandContext ctx)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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`

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.