org.jbpm.executor.commands

## Class DelayedPrintOutCommand

- java.lang.Object
- - org.jbpm.executor.commands.PrintOutCommand
  - - org.jbpm.executor.commands.DelayedPrintOutCommand

- All Implemented Interfaces:
    org.kie.internal.executor.api.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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.kie.internal.executor.api.ExecutionResults` | `execute(org.kie.internal.executor.api.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.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)

      Specified by:
        `execute` in interface `org.kie.internal.executor.api.Command`
      Overrides:
        `execute` in class `PrintOutCommand`

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