Class CleanupParameters


  • public class CleanupParameters
    extends Object
    Data-class which is stored parameters for cleanup process.
    Since:
    2018.2
    Author:
    Maxim Zaytsev (maxim.zaytsev@jetbrains.com)
    See Also:
    AgentDiskSpaceCleanerExtension
    • Constructor Detail

      • CleanupParameters

        public CleanupParameters​(long ttlMillis,
                                 @NotNull
                                 List<File> toCleanup)
    • Method Detail

      • getTTL

        public long getTTL()
        Returns:
        time to life of caches. Cleaner's implementations must remove their caches if they are not used more that specified ttl
      • getFilesToCleanup

        @NotNull
        public List<File> getFilesToCleanup()
        Returns:
        list of files and directories which must be removed by plugin.