@Extension(ordinal=1.0) @Symbol(value="withPerfecto") public static class PerfectoBuildWrapper.DescriptorImpl extends BuildWrapperDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckCredentialId(Item item,
String value)
Validates Credential if exists
|
FormValidation |
doCheckPerfectoConnectFile(String value,
Item item) |
FormValidation |
doCheckPerfectoConnectLocation(String value,
Item item) |
ListBoxModel |
doFillCredentialIdItems(ItemGroup<?> context,
String credentialId)
Fills credentials
|
String |
getDisplayName() |
boolean |
isApplicable(AbstractProject<?,?> item) |
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 String getDisplayName()
getDisplayName in class Descriptor<BuildWrapper>@POST public ListBoxModel doFillCredentialIdItems(@AncestorInPath ItemGroup<?> context, @QueryParameter String credentialId)
context - ItemGroupcredentialId - credentials@POST public FormValidation doCheckCredentialId(@AncestorInPath Item item, @QueryParameter String value)
item - Basic configuration unit in Hudsonvalue - Any conditional parameter(here id of the credential selected)@POST public FormValidation doCheckPerfectoConnectLocation(@QueryParameter String value, @AncestorInPath Item item)
@POST public FormValidation doCheckPerfectoConnectFile(@QueryParameter String value, @AncestorInPath Item item)
public boolean isApplicable(AbstractProject<?,?> item)
isApplicable in class BuildWrapperDescriptorCopyright © 2016–2020. All rights reserved.