Class RunBadgeAction

java.lang.Object
org.jenkinsci.plugins.badge.actions.RunBadgeAction
All Implemented Interfaces:
Action, ModelObject, IconSpec

public class RunBadgeAction extends Object implements Action, IconSpec
  • Field Details

    • run

      public final Run<?,?> run
    • project

      public final Job<?,?> project
  • Constructor Details

    • RunBadgeAction

      public RunBadgeAction(Run<?,?> run)
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getUrl

      public String getUrl()
    • getUrlEncodedFullName

      public String getUrlEncodedFullName()
    • doIcon

      @WebMethod(name="icon") public org.kohsuke.stapler.HttpResponse doIcon(@QueryParameter String style, @QueryParameter String subject, @QueryParameter String status, @QueryParameter String color, @QueryParameter String animatedOverlayColor, @QueryParameter String config, @QueryParameter String link)
    • doIconDotSvg

      @WebMethod(name="icon.svg") public org.kohsuke.stapler.HttpResponse doIconDotSvg(@QueryParameter String style, @QueryParameter String subject, @QueryParameter String status, @QueryParameter String color, @QueryParameter String animatedOverlayColor, @QueryParameter String config, @QueryParameter String link)
    • doText

      public String doText()