jBPM :: Distribution 6.2.0.Final

org.jbpm.executor.commands
Class DelayedPrintOutCommand

java.lang.Object
  extended by org.jbpm.executor.commands.PrintOutCommand
      extended by 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
DelayedPrintOutCommand()
           
 
Method Summary
 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

jBPM :: Distribution 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.