jBPM :: Distribution 6.2.0-SNAPSHOT

org.jbpm.executor.commands
Class LogCleanupCommand

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

public class LogCleanupCommand
extends Object
implements org.kie.internal.executor.api.Command, org.kie.internal.executor.api.Reoccurring

Log clean up command that aims at doing house keeping of audit/log tables used in jBPM:

Command by default is auto configured to run once a day from the time it was initially scheduled though it can be reconfigured in terms of frequency when it is executed and if it shall run multiple times at all.
Following is a complete list of accepted parameters:


Constructor Summary
LogCleanupCommand()
           
 
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

LogCleanupCommand

public LogCleanupCommand()
Method Detail

getScheduleTime

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

execute

public org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
                                                       throws Exception
Specified by:
execute in interface org.kie.internal.executor.api.Command
Throws:
Exception

jBPM :: Distribution 6.2.0-SNAPSHOT

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