Package jenkins.tasks
Interface SimpleBuildStep.LastBuildAction
-
- All Superinterfaces:
Action,ModelObject
- Enclosing interface:
- SimpleBuildStep
public static interface SimpleBuildStep.LastBuildAction extends Action
Marker for explicitly added build actions (asRun.addAction(hudson.model.Action)) which should imply a transient project action (Actionable.getActions()) when present on theJob.getLastSuccessfulBuild(). This can serve as a substitute forBuildStep.getProjectActions(hudson.model.AbstractProject<?, ?>)which does not assume that the project can enumerate the steps it would run before they are actually run. (UseInvisibleActionas a base class if you do not need to show anything in the build itself.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<? extends Action>getProjectActions()Optionally add some actions to the project owning this build.-
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Method Detail
-
getProjectActions
Collection<? extends Action> getProjectActions()
Optionally add some actions to the project owning this build.- Returns:
- zero or more transient actions;
if you need to know the
Job, implementRunAction2and useRun.getParent()
-
-