Package hudson.plugins.repo
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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Returns the display name to use for the action.String
getIconFileName()
Returns the filename to use as the badge.List<StaticManifest>
getManifests()
Gets a String representation of the static manifest for this repo snapshot.Run<?,?>
getRun()
Getter for the run property.String
getUrlName()
Returns the name of the Url to use for the action.void
onAttached(Run<?,?> r)
void
onLoad(Run<?,?> r)
-
-
-
Method Detail
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoad
in interfaceRunAction2
-
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 interfaceAction
-
getDisplayName
public String getDisplayName()
Returns the display name to use for the action.- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public final String getUrlName()
Returns the name of the Url to use for the action.- Specified by:
getUrlName
in interfaceAction
-
getManifests
public List<StaticManifest> getManifests()
Gets a String representation of the static manifest for this repo snapshot.
-
-