All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zeroturnaround.jenkins.OverrideForm Maven / Gradle / Ivy

Go to download

LiveRebel Plugin helps to run updates to your JEE containers faster. LiveRebel is a tool for hot updates without downtime, lost sessions and OutOfMemoryErrors. You have to have a running LiveRebel Command Center to use this plugin.

The newest version!
package org.zeroturnaround.jenkins;

import hudson.Extension;
import hudson.model.Describable;
import hudson.model.Descriptor;
import hudson.model.Hudson;
import org.kohsuke.stapler.DataBoundConstructor;

public class OverrideForm implements Describable{
  private String app;
  private String ver;

  @DataBoundConstructor
  public OverrideForm(final String app, final String ver) {
    this.ver = ver;
    this.app = app;
  }

  public String getApp() {
    return app;
  }

  public String getVer() {
    return ver;
  }

  public void setApp(String app) {
    this.app = app;
  }

  public void setVer(String ver) {
    this.ver = ver;
  }

  public OverrideDescriptorImpl getDescriptor() {
    return (OverrideDescriptorImpl) Hudson.getInstance().getDescriptor(getClass());
  }

  @Extension
  public static class OverrideDescriptorImpl extends Descriptor {

    @Override
    public String getDisplayName() {
      return "Overrode form";
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy