Class PollingIntervals


  • public class PollingIntervals
    extends Object
    • Constructor Detail

      • PollingIntervals

        public PollingIntervals​(Run<?,​?> jenkinsRun,
                                TaskListener listener,
                                Logger logger)
        Creates new instance of polling intervals provider. Gets environment variable "DEFENSICS_MAX_POLLING_INTERVAL" from jenkinsRun and task listener, which is used to cap polling intervals to make integration tests run faster. The variable could be used for making Defensics plugin print run status information more often too.
        Parameters:
        jenkinsRun - The Jenkins run for which to check environment variables.
        listener - The task listener for which to check environment variables.
        logger - Logger for logging invalid environment variable values.
    • Method Detail

      • getTestplanLoadingInterval

        public int getTestplanLoadingInterval()
      • getInitialRunPollingInterval

        public int getInitialRunPollingInterval()
      • getRunPollingInterval

        public int getRunPollingInterval()