Class BuildTriggerStep.DescriptorImpl

  • All Implemented Interfaces:
    Saveable, OnMaster, org.jenkinsci.plugins.structs.describable.CustomDescribableModel
    Enclosing class:
    BuildTriggerStep

    @Extension
    public static class BuildTriggerStep.DescriptorImpl
    extends org.jenkinsci.plugins.workflow.steps.AbstractStepDescriptorImpl
    implements org.jenkinsci.plugins.structs.describable.CustomDescribableModel
    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • customInstantiate

        public Map<String,​Object> customInstantiate​(Map<String,​Object> map)
        Compatibility hack for JENKINS-62305. Only affects runtime behavior of the step, not the snippet generator. Ideally, password parameters would not be used at all with this step, but there was no documentation or runtime warnings for this usage previously and so it is relatively common.
        Specified by:
        customInstantiate in interface org.jenkinsci.plugins.structs.describable.CustomDescribableModel
      • customUninstantiate

        public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate​(org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable step)
        Specified by:
        customUninstantiate in interface org.jenkinsci.plugins.structs.describable.CustomDescribableModel
      • getFunctionName

        public String getFunctionName()
        Specified by:
        getFunctionName in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
      • getContext

        @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
        public String getContext()
      • doCheckPropagate

        public FormValidation doCheckPropagate​(@QueryParameter
                                               boolean value,
                                               @QueryParameter
                                               boolean wait)
      • doCheckWait

        public FormValidation doCheckWait​(@AncestorInPath
                                          ItemGroup<?> context,
                                          @QueryParameter
                                          boolean value,
                                          @QueryParameter
                                          String job)