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/*.jelly
for 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 boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
protected void
convertfinal(Map<String,Object> oldPropertyBag)
FormValidation
doCheckAipProjectOutputFolder(String value, String aipProjectBuild)
FormValidation
doCheckAipProjectOutputName(String value, String aipProjectBuild)
FormValidation
doCheckAipProjectPath(String value)
ListBoxModel
doFillInstallNameItems()
String
getDisplayName()
AdvinstInstallation[]
getInstallations()
AdvinstInstallation.DescriptorImpl
getToolDescriptor()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
void
setInstallations(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:
IOException
javax.servlet.ServletException
-
doCheckAipProjectOutputFolder
public FormValidation doCheckAipProjectOutputFolder(@QueryParameter String value, @QueryParameter String aipProjectBuild) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doCheckAipProjectOutputName
public FormValidation doCheckAipProjectOutputName(@QueryParameter String value, @QueryParameter String aipProjectBuild) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in 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:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
getToolDescriptor
public AdvinstInstallation.DescriptorImpl getToolDescriptor()
-
getInstallations
public AdvinstInstallation[] getInstallations()
-
setInstallations
public void setInstallations(AdvinstInstallation... installations)
-
-