/** * Gets the builder descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Builder> getBuilder(String shortClassName) { return findDescriptor(shortClassName, Builder.all()); }
public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?,?> project) { return BuildStepDescriptor.filter(Builder.all(), project.getClass()); }
@Override protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException { super.submit(req,rsp); JSONObject json = req.getSubmittedForm(); getBuildWrappersList().rebuild(req,json, BuildWrappers.getFor(this)); getBuildersList().rebuildHetero(req,json, Builder.all(), "builder"); getPublishersList().rebuildHetero(req, json, Publisher.all(), "publisher"); }
public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?,?> project) { return BuildStepDescriptor.filter(Builder.all(), project.getClass()); }
/** * Gets the builder descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Builder> getBuilder(String shortClassName) { return findDescriptor(shortClassName, Builder.all()); }
/** * Gets the builder descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Builder> getBuilder(String shortClassName) { return findDescriptor(shortClassName, Builder.all()); }
/** * Gets the builder descriptor by name. Primarily used for making them * web-visible. */ public Descriptor<Builder> getBuilder(String shortClassName) { return findDescriptor(shortClassName, Builder.all()); }
/** * Gets the builder descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Builder> getBuilder(String shortClassName) { return findDescriptor(shortClassName, Builder.all()); }
/** * Gets the builder descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Builder> getBuilder(String shortClassName) { return findDescriptor(shortClassName, Builder.all()); }
public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?, ?> project) { return BuildStepDescriptor.filter(Builder.all(), project.getClass()); }
public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?,?> project) { return BuildStepDescriptor.filter(Builder.all(), project.getClass()); }
public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?,?> project) { return BuildStepDescriptor.filter(Builder.all(), project.getClass()); }
@Override public BuildWrapper newInstance(StaplerRequest req, JSONObject formData) throws FormException { M2ExtraStepsWrapper instance = req.bindJSON(M2ExtraStepsWrapper.class, formData); instance.preBuildSteps = Descriptor.newInstancesFromHeteroList(req, formData, "preBuildSteps", Builder.all()); instance.postBuildSteps = Descriptor.newInstancesFromHeteroList(req, formData, "postBuildSteps", Builder.all()); return instance; }
public static List<Descriptor<? extends BuildStep>> getAll() { List<Descriptor<? extends BuildStep>> list = new ArrayList<Descriptor<? extends BuildStep>>(); addTo(Builder.all(), list); addTo(Publisher.all(), list); return list; }
public static List<Descriptor<? extends BuildStep>> getBuildSteps() { List<Descriptor<? extends BuildStep>> list = new ArrayList<Descriptor<? extends BuildStep>>(); addTo(Builder.all(), list); addTo(Publisher.all(), list); return list; }
@Override protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException { super.submit(req,rsp); JSONObject json = req.getSubmittedForm(); buildBuildWrappers(req, json, BuildWrappers.getFor(this)); setBuilders(DescribableListUtil.buildFromHetero(this, req, json, "builder", Builder.all())); buildPublishers(req, json, BuildStepDescriptor.filter(Publisher.all(), this.getClass())); }
@Override protected void submit(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException, FormException { super.submit(req, rsp); JSONObject json = req.getSubmittedForm(); buildBuildWrappers(req, json, BuildWrappers.getFor(this)); setBuilders(DescribableListUtil.buildFromHetero(this, req, json, "builder", Builder.all())); buildPublishers(req, json, BuildStepDescriptor.filter(Publisher.all(), this.getClass())); }
@Override protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException { super.submit(req,rsp); JSONObject json = req.getSubmittedForm(); buildBuildWrappers(req, json, BuildWrappers.getFor(this)); setBuilders(DescribableListUtil.buildFromHetero(this, req, json, "builder", Builder.all())); buildPublishers(req, json, BuildStepDescriptor.filter(Publisher.all(), this.getClass())); }
@Override protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException { super.submit(req,rsp); JSONObject json = req.getSubmittedForm(); buildBuildWrappers(req, json, BuildWrappers.getFor(this)); setBuilders(DescribableListUtil.buildFromHetero(this, req, json, "builder", Builder.all())); buildPublishers(req, json, BuildStepDescriptor.filter(Publisher.all(), this.getClass())); }
@Override protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException { super.submit(req,rsp); JSONObject json = req.getSubmittedForm(); getBuildWrappersList().rebuild(req,json, BuildWrappers.getFor(this)); getBuildersList().rebuildHetero(req,json, Builder.all(), "builder"); getPublishersList().rebuildHetero(req, json, Publisher.all(), "publisher"); }