Class CaseLogCleanupCommand

  • All Implemented Interfaces:
    org.kie.api.executor.Command, org.kie.api.executor.Reoccurring

    public class CaseLogCleanupCommand
    extends LogCleanupCommand
    Case Log clean up command that aims at doing house keeping of audit/log tables used in jBPM extending LogCleanupCommand for current behavior. This command adds this to LogCleanupCommand. Theses parameters restricts the conditions where the logs are going to be deleted.
    • ForCaseDefId - restricts the logs to be removed to those where the case definition id matches this parameter
    • ForDeployment - restricts the logs to be removed to those where the case instance is in this deployment
    • Status - restricts the logs to be removed to those where the case instance is in this status list
    • Constructor Detail

      • CaseLogCleanupCommand

        public CaseLogCleanupCommand()
    • Method Detail

      • execute

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