@Extension
public static final class A3Builder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
A3Builder. Used as a singleton.
The class is marked as public so that it can be accessed from views.
| Constructor and Description |
|---|
DescriptorImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Sets a new configuration.
|
static boolean |
containsEnvVars(String s)
Helper method to check whether a string contains an environment variable of form
${IDENTIFIER} |
hudson.util.FormValidation |
doCheckA3packages(String value)
Performs on-the-fly validation of the form field 'a3packages'.
|
hudson.util.FormValidation |
doCheckAlauncher(String value)
Performs on-the-fly validation of the form field 'alauncher'.
|
hudson.util.FormValidation |
doCheckAnalysis_ids(String value)
Performs on-the-fly validation of the form field 'timingprofiler_dir'.
|
hudson.util.FormValidation |
doCheckProject_file(String value)
Performs on-the-fly validation of the form field 'project_file'.
|
String |
getA3packages()
Returns the build number a3 installation is restricted to.
|
String |
getAlauncher()
Returns the currently configured a3 windows installer package.
|
String |
getAlmport()
Returns the currently configured alm (AbsInt Licenseserver manager) server name
|
String |
getAlmserver()
Returns the currently configured alm (AbsInt Licenseserver manager) server name
|
String |
getDisplayName()
Return the human readable name used in the configuration screen.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
Indicates that this builder can be used with all kinds of project types.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic DescriptorImpl()
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>public hudson.util.FormValidation doCheckAnalysis_ids(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - The value that the user has typed.FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.IOException - as super classjavax.servlet.ServletException - as super classpublic static final boolean containsEnvVars(String s)
s - String to scan for environment variable expressionspublic hudson.util.FormValidation doCheckAlauncher(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - The value that the user has typed.FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.IOException - as super classjavax.servlet.ServletException - as super classpublic hudson.util.FormValidation doCheckA3packages(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - The value that the user has typed.FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.IOException - as super classjavax.servlet.ServletException - as super classpublic hudson.util.FormValidation doCheckProject_file(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.IOException - as super classjavax.servlet.ServletException - as super classpublic boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Builder>FormException - as super classhudson.model.Descriptor.FormExceptionpublic String getAlauncher()
public String getA3packages()
public String getAlmserver()
public String getAlmport()
Copyright © 2016–2017. All rights reserved.