Interface ICleanupJobUnit

All Superinterfaces:
IJobUnit

public interface ICleanupJobUnit extends IJobUnit
This job will remove work dirs of other jobs which were last modified before given time.

Work dirs will be removed regardless of whether there are still jobs attached to them.

Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
  • Field Details

  • Method Details

    • setPreserveAgeHours

      void setPreserveAgeHours(int preserveAgeHours)
      Job parameter: how old job work dirs will be preserved (in hours).
      Parameters:
      preserveAgeHours - preserve age in hours
    • setPreserveFailedAgeHours

      void setPreserveFailedAgeHours(int preserveFailedAgeHours)
      Job parameter: How long the failed job directories are preserved in hours.
      Parameters:
      preserveFailedAgeHours - preserve age in hours
      Since:
      3.23.4