Class ExportParamsAction

java.lang.Object
io.jenkins.plugins.exportjobparameters.ExportParamsAction
All Implemented Interfaces:
Action, ModelObject

public class ExportParamsAction extends Object implements Action
Renders the parameters of a job as Pipeline code.
  • Constructor Details

    • ExportParamsAction

      public ExportParamsAction(Job<?,?> job)
  • Method Details

    • getJob

      public Job<?,?> getJob()
    • getPermission

      public Permission getPermission()
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • 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
    • getDeclarativeBlock

      @CheckForNull public String getDeclarativeBlock()
      Returns:
      the parameters directive of a Declarative Pipeline, or null if one of the parameters has no symbol and so cannot be used in a Declarative Pipeline
    • getScriptedBlock

      @NonNull public String getScriptedBlock()
      Returns:
      the properties step of a Scripted Pipeline