@Extension
public static final class AstreeBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
AstreeBuilder. 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 |
doCheckAlauncher(String value,
hudson.model.AbstractProject project)
Performs on-the-fly validation of the form field 'alauncher'.
|
hudson.util.FormValidation |
doCheckAnalysis_id(String value)
Performs on-the-fly validation of the form field 'analysis_id'.
|
hudson.util.FormValidation |
doCheckAstree_server(String value)
Performs on-the-fly validation of the form field 'astree_server'.
|
hudson.util.FormValidation |
doCheckDax_file(String value)
Performs on-the-fly validation of the form field 'dax_file'.
|
hudson.util.FormValidation |
doCheckOutput_dir(String value)
Performs on-the-fly validation of the form field 'output_dir'.
|
String |
getAlauncher()
Returns the currently configured alauncher.
|
String |
getAstree_server()
Returns the currently configured Astrée server
(as host:port).
|
boolean |
getComp1610()
Returns the status of compatibility mode with release 16.10.
|
String |
getDisplayName()
Return the human readable name used in the configuration screen.
|
String |
getPassword()
Returns the currently configured Astrée (user) password.
|
String |
getUser()
Returns the currently configured Astrée user.
|
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 doCheckAstree_server(@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 doCheckAlauncher(@QueryParameter
String value,
hudson.model.AbstractProject project)
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 doCheckDax_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 hudson.util.FormValidation doCheckAnalysis_id(@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 hudson.util.FormValidation doCheckOutput_dir(@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 getAstree_server()
public String getAlauncher()
public boolean getComp1610()
public String getUser()
public String getPassword()
Copyright © 2016–2018. All rights reserved.