jBPM distribution 6.2.0.CR4

org.jbpm.executor.commands
Class ReoccurringPrintOutCommand

java.lang.Object
  extended by org.jbpm.executor.commands.ReoccurringPrintOutCommand
All Implemented Interfaces:
org.kie.internal.executor.api.Command, org.kie.internal.executor.api.Reoccurring

@Named(value="ReoccurringPrintOutCommand")
public class ReoccurringPrintOutCommand
extends Object
implements org.kie.internal.executor.api.Command, org.kie.internal.executor.api.Reoccurring

Simple command to log the contextual data and return empty results as reoccurring job. Just for demo purpose.


Constructor Summary
ReoccurringPrintOutCommand()
           
 
Method Summary
 org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
           
 Date getScheduleTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReoccurringPrintOutCommand

public ReoccurringPrintOutCommand()
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

getScheduleTime

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

jBPM distribution 6.2.0.CR4

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