@Extension @Symbol(value="bundleUpload") public class BundleUpload extends AsyncPeriodicWork
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
protected static String |
BUNDLE_SUCCESSFULLY_UPLOADED |
static int |
INITIAL_DELAY_MINUTES |
static int |
RECURRENCE_PERIOD_HOURS |
static String |
TEMP_BUNDLE_DIRECTORY |
nameDAY, HOUR, logger, MIN| Constructor and Description |
|---|
BundleUpload() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(TaskListener listener) |
long |
getInitialDelay()
By default we wait a few minutes to allow support-core plugin time to generate a bundle first.
|
long |
getRecurrencePeriod() |
String |
getTempBundleDirectory()
Get the directory where Advisor bundle are temporarily generated before being sent to the remote server.
|
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevelall, initgetLogsRoot, runcancel, scheduledExecutionTimepublic static final int RECURRENCE_PERIOD_HOURS
public static final int INITIAL_DELAY_MINUTES
public static final String TEMP_BUNDLE_DIRECTORY
protected static final String BUNDLE_SUCCESSFULLY_UPLOADED
protected void execute(TaskListener listener)
execute in class AsyncPeriodicWorkpublic long getRecurrencePeriod()
getRecurrencePeriod in class PeriodicWorkpublic long getInitialDelay()
getInitialDelay in class PeriodicWorkCopyright © 2016–2021. All rights reserved.