Class RoundhouseAction

    • Constructor Detail

      • RoundhouseAction

        public RoundhouseAction​(Style style,
                                String fact)
        Constructs a RoundhouseAction with specified style and fact.
        Parameters:
        style - the style
        fact - the fact
    • Method Detail

      • getIconFileName

        public String getIconFileName()
        This action doesn't provide any icon file.
        Specified by:
        getIconFileName in interface Action
        Returns:
        null
      • getUrlName

        public String getUrlName()
        Gets the URL name for this action.
        Specified by:
        getUrlName in interface Action
        Returns:
        the URL name
      • getStyle

        public Style getStyle()
        Gets the Chuck Norris style.
        Returns:
        the style
      • getFact

        public String getFact()
        Gets the Chuck Norris fact.
        Returns:
        the fact
      • getProjectActions

        public Collection<? extends Action> getProjectActions()
        Returns this action as a collection of all project actions. Default jenkins behavior is to get the action on the last successful build (Stable or Unstable) while we want the last completed build (Stable, Unstable or Failure).
        Specified by:
        getProjectActions in interface SimpleBuildStep.LastBuildAction
        Returns:
        the project actions
      • onLoad

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