Class ReoccurringLongPrintOutCommand
- java.lang.Object
-
- org.kie.server.services.jbpm.cluster.ReoccurringLongPrintOutCommand
-
- All Implemented Interfaces:
org.kie.api.executor.Command,org.kie.api.executor.Reoccurring
public class ReoccurringLongPrintOutCommand extends Object implements org.kie.api.executor.Command, org.kie.api.executor.Reoccurring
Simple command to log the contextual data and return empty results as reoccurring job. Just for demo purpose.
-
-
Constructor Summary
Constructors Constructor Description ReoccurringLongPrintOutCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.executor.ExecutionResultsexecute(org.kie.api.executor.CommandContext ctx)DategetScheduleTime()
-
-
-
Method Detail
-
execute
public org.kie.api.executor.ExecutionResults execute(org.kie.api.executor.CommandContext ctx) throws InterruptedException- Specified by:
executein interfaceorg.kie.api.executor.Command- Throws:
InterruptedException
-
getScheduleTime
public Date getScheduleTime()
- Specified by:
getScheduleTimein interfaceorg.kie.api.executor.Reoccurring
-
-