@Extension
public static final class EvaluateGate.EvaluateGateImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
EvaluateGate. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/hudson/plugins/hello_world/HelloWorldBuilder/*.jelly for the actual HTML fragment for the configuration screen.
| Constructor and Description |
|---|
EvaluateGateImpl()
In order to load the persisted global configuration, you have to
call load() in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.model.AutoCompletionCandidates |
doAutoCompleteBuildJobName(String value)
Autocompletion for build job name field
|
hudson.util.FormValidation |
doCheckApplicationName(String value)
Performs on-the-fly validation of the form field 'name'.
|
hudson.util.FormValidation |
doCheckEnvironmentName(String value) |
hudson.util.FormValidation |
doCheckPolicyName(String value) |
hudson.util.FormValidation |
doCheckToolchainName(String value) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.ItemGroup context,
String target)
This method is called to populate the credentials list on the Jenkins config page.
|
hudson.util.ListBoxModel |
doFillPolicyNameItems(hudson.model.ItemGroup context,
String toolchainName,
String credentialsId)
This method is called to populate the policy list on the Jenkins config page.
|
hudson.util.FormValidation |
doTestConnection(hudson.model.ItemGroup context,
String credentialsId) |
String |
getDisplayName()
Required Method
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
Required Method
This is used to determine if this build step is applicable for your chosen project type.
|
boolean |
isDebugMode() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic EvaluateGateImpl()
public hudson.util.FormValidation doCheckApplicationName(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
value - This parameter receives the value that the user has typed.
Note that returning FormValidation.error(String) does not
prevent the form from being saved. It just means that a message
will be displayed to the user.
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckEnvironmentName(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckToolchainName(@QueryParameter
String value)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckPolicyName(@QueryParameter
String value)
public hudson.util.FormValidation doTestConnection(@AncestorInPath
hudson.model.ItemGroup context,
@QueryParameter(value="credentialsId")
String credentialsId)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath
hudson.model.ItemGroup context,
@QueryParameter(value="target")
String target)
public hudson.model.AutoCompletionCandidates doAutoCompleteBuildJobName(@QueryParameter
String value)
value - public hudson.util.ListBoxModel doFillPolicyNameItems(@AncestorInPath
hudson.model.ItemGroup context,
@QueryParameter
String toolchainName,
@QueryParameter
String credentialsId)
context - credentialsId - public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>aClass - The current projectpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean isDebugMode()
Copyright © 2016–2020. All rights reserved.