Package caphyon.jenkins.advinst
Class AdvinstDescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- caphyon.jenkins.advinst.AdvinstDescriptorImpl
-
@Extension @Symbol("advinstBuilder") public final class AdvinstDescriptorImpl extends BuildStepDescriptor<Builder>
Descriptor forAdvinstBuilder. Used as a singleton. The class is marked as public so that it can be accessed from views.See
src/main/resources/caphyon/jenkins/AdvinstBuilder/*.jellyfor the actual HTML fragment for the configuration screen.- Author:
- Ciprian Burca
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description AdvinstDescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)protected voidconvertfinal(Map<String,Object> oldPropertyBag)FormValidationdoCheckAipProjectOutputFolder(String value, String aipProjectBuild)FormValidationdoCheckAipProjectOutputName(String value, String aipProjectBuild)FormValidationdoCheckAipProjectPath(String value)ListBoxModeldoFillInstallNameItems()StringgetDisplayName()AdvinstInstallation[]getInstallations()AdvinstInstallation.DescriptorImplgetToolDescriptor()booleanisApplicable(Class<? extends AbstractProject> aClass)voidsetInstallations(AdvinstInstallation... installations)-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
doFillInstallNameItems
public ListBoxModel doFillInstallNameItems()
-
doCheckAipProjectPath
public FormValidation doCheckAipProjectPath(@QueryParameter String value) throws IOException, javax.servlet.ServletException
- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckAipProjectOutputFolder
public FormValidation doCheckAipProjectOutputFolder(@QueryParameter String value, @QueryParameter String aipProjectBuild) throws IOException, javax.servlet.ServletException
- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckAipProjectOutputName
public FormValidation doCheckAipProjectOutputName(@QueryParameter String value, @QueryParameter String aipProjectBuild) throws IOException, javax.servlet.ServletException
- Throws:
IOExceptionjavax.servlet.ServletException
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<Builder>- Returns:
- Human readable name is used in the configuration screen.
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException- Overrides:
configurein classDescriptor<Builder>- Throws:
Descriptor.FormException
-
getToolDescriptor
public AdvinstInstallation.DescriptorImpl getToolDescriptor()
-
getInstallations
public AdvinstInstallation[] getInstallations()
-
setInstallations
public void setInstallations(AdvinstInstallation... installations)
-
-