org.jenkinsci.plugins.mavenrepocleaner
Class MavenRepoCleanerThread
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.model.AsyncPeriodicWork
org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerThread
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
@Extension
public class MavenRepoCleanerThread
- extends hudson.model.AsyncPeriodicWork
Clean up Maven repositories
- Author:
- Andrew Bayer
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
static boolean |
disabled
Can be used to disable workspace clean up. |
| Fields inherited from class hudson.model.AsyncPeriodicWork |
name |
| Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
| Methods inherited from class hudson.model.AsyncPeriodicWork |
createListener, doRun, getLogFile |
| Methods inherited from class hudson.model.PeriodicWork |
all, getInitialDelay |
| Methods inherited from class hudson.triggers.SafeTimerTask |
run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
disabled
public static boolean disabled
- Can be used to disable workspace clean up.
MavenRepoCleanerThread
public MavenRepoCleanerThread()
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod in class hudson.model.PeriodicWork
execute
protected void execute(hudson.model.TaskListener listener)
throws InterruptedException,
IOException
- Specified by:
execute in class hudson.model.AsyncPeriodicWork
- Throws:
InterruptedException
IOException
checkTriggers
public void checkTriggers(Calendar cal)
throws antlr.ANTLRException,
IOException,
InterruptedException
- Throws:
antlr.ANTLRException
IOException
InterruptedException
invoke
public static void invoke()
Copyright © 2004-2011. All Rights Reserved.