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.StepDescriptor
    implements org.jenkinsci.plugins.structs.describable.CustomDescribableModel
    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • customInstantiate

        @NonNull
        public Map<String,​Object> customInstantiate​(@NonNull
                                                          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

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

        public Set<? extends Class<?>> getRequiredContext()
        Specified by:
        getRequiredContext in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
      • 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()
      • getContextEncoded

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

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

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