Class ManifestAction

java.lang.Object
hudson.plugins.repo.ManifestAction
All Implemented Interfaces:
Action, BuildBadgeAction, ModelObject, Serializable, RunAction2

@ExportedBean(defaultVisibility=999) public class ManifestAction extends Object implements RunAction2, Serializable, BuildBadgeAction
A Manifest Action displays the static manifest information needed to recreate the exact state of the repository when the build was run.
See Also:
  • Method Details

    • onAttached

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

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

      public Run<?,?> getRun()
      Getter for the run property.
    • getIconFileName

      public String getIconFileName()
      Returns the filename to use as the badge.
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Returns the display name to use for the action.
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public final String getUrlName()
      Returns the name of the Url to use for the action.
      Specified by:
      getUrlName in interface Action
    • getManifests

      public List<StaticManifest> getManifests()
      Gets a String representation of the static manifest for this repo snapshot.