Class ScanLogAction

    • Constructor Detail

      • ScanLogAction

        public ScanLogAction()
    • Method Detail

      • getRun

        public Run getRun()
        The run associated with this action, called by jelly.
        Returns:
        the run
      • getLogText

        public String getLogText()
                          throws IOException
        Log text for the analysis.
        Returns:
        the log text, lines are separated by \n
        Throws:
        IOException - if the log can't be found
      • getStartTime

        @Exported
        public long getStartTime()
        The start time of the current scan.
        Returns:
        time in milliseconds System.currentTimeMillis()
      • finished

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        protected void finished()
        To call when the scan is finished.
      • getExceptionMessage

        public String getExceptionMessage()
        Get the exception message if any.
        Returns:
        the first exception faced during scan
      • setExceptionMessage

        public void setExceptionMessage​(String exceptionMessage)
        Set an exception.
        Parameters:
        exceptionMessage - the exception message to set
      • onLoad

        public void onLoad​(Run<?,​?> r)
        Specified by:
        onLoad in interface RunAction2