java.lang.Object
com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView

public class JobView extends Object
Author:
Jan Molak
  • Constructor Details

  • Method Details

    • of

      public static JobView of(Job<?,?> job, List<Feature> features, boolean isPipelineJob)
    • features

      public List<Feature> features()
    • which

      public <F extends Feature> F which(Class<F> requestedFeature)
    • name

      public String name()
    • url

      public String url()
    • status

      public String status()
    • estimatedDuration

      public String estimatedDuration()
    • timeElapsedSinceLastBuild

      public String timeElapsedSinceLastBuild()
    • progress

      public int progress()
    • isDisabled

      public boolean isDisabled()
    • isRunning

      public boolean isRunning()
    • lastResult

      public Result lastResult()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • currentBuilds

      public List<BuildViewModel> currentBuilds()
    • lastBuild

      public BuildViewModel lastBuild()
    • lastCompletedBuild

      public BuildViewModel lastCompletedBuild()