Class RunExt

    • Constructor Detail

      • RunExt

        public RunExt()
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • setStatus

        public void setStatus​(StatusExt status)
      • getStartTimeMillis

        public long getStartTimeMillis()
      • setStartTimeMillis

        public void setStartTimeMillis​(long startTimeMillis)
      • getEndTimeMillis

        public long getEndTimeMillis()
      • setEndTimeMillis

        public void setEndTimeMillis​(long endTimeMillis)
      • getDurationMillis

        public long getDurationMillis()
      • setDurationMillis

        public void setDurationMillis​(long durationMillis)
      • getQueueDurationMillis

        public long getQueueDurationMillis()
      • setQueueDurationMillis

        public void setQueueDurationMillis​(long queueDurationMillis)
      • getPauseDurationMillis

        public long getPauseDurationMillis()
      • setPauseDurationMillis

        public void setPauseDurationMillis​(long pauseDurationMillis)
      • computeTimings

        @Deprecated
        public static RunExt computeTimings​(RunExt runExt)
        Deprecated.
        Computes timings after the stages have been set up That means timing of the stage has been computed, and the stages are sorted Deprecated but retained for external APIs consuming it, use createNew(WorkflowRun) instead
      • createMinimal

        public static RunExt createMinimal​(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
        Get basics set up: everything but status/timing/node walking for a run, no cache use
      • createWrapper

        public RunExt createWrapper()
        Creates a wrapper of this that hides the full stage nodes Use case: returning a minimal view of the run, while using a cached, fully-realized version
      • create

        public static RunExt create​(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
      • createNew

        public static RunExt createNew​(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
      • isPendingInput

        public static boolean isPendingInput​(org.jenkinsci.plugins.workflow.job.WorkflowRun run)