Class LogsFolderCleanTask

  • All Implemented Interfaces:
    java.lang.Runnable

    @Singleton
    public class LogsFolderCleanTask
    extends TaskSystem.Task
    Task in charge of removing old log files
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)  
      void run()  
      • Methods inherited from class net.playeranalytics.plugin.scheduling.PluginRunnable

        cancel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LogsFolderCleanTask

        @Inject
        public LogsFolderCleanTask​(PlanFiles files,
                                   PlanConfig config,
                                   net.playeranalytics.plugin.server.PluginLogger logger)
    • Method Detail

      • run

        public void run()
      • register

        public void register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
        Specified by:
        register in class TaskSystem.Task