Class BundleUpload

All Implemented Interfaces:
ExtensionPoint, Runnable

@Extension @Symbol("bundleUpload") public class BundleUpload extends AsyncPeriodicWork
  • Field Details

    • RECURRENCE_PERIOD_HOURS

      public static final int RECURRENCE_PERIOD_HOURS
    • INITIAL_DELAY_MINUTES

      public static final int INITIAL_DELAY_MINUTES
    • TEMP_BUNDLE_DIRECTORY

      public static final String TEMP_BUNDLE_DIRECTORY
    • BUNDLE_SUCCESSFULLY_UPLOADED

      protected static final String BUNDLE_SUCCESSFULLY_UPLOADED
      See Also:
  • Constructor Details

    • BundleUpload

      public BundleUpload()
  • Method Details

    • execute

      protected void execute(TaskListener listener)
      Specified by:
      execute in class AsyncPeriodicWork
    • getRecurrencePeriod

      public long getRecurrencePeriod()
      Specified by:
      getRecurrencePeriod in class PeriodicWork
    • getInitialDelay

      public long getInitialDelay()
      By default we wait a few minutes to allow support-core plugin time to generate a bundle first.
      Overrides:
      getInitialDelay in class PeriodicWork
      Returns:
      initial delay before running work (in milliseconds).
    • getTempBundleDirectory

      public String getTempBundleDirectory()
      Get the directory where Advisor bundle are temporarily generated before being sent to the remote server.
      Returns:
      the path as String