public static final class ArtifactPublisher.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Constructor and Description |
|---|
ArtifactPublisher.DescriptorImpl()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheckUsername(String value,
String hostname)
Validates we can find credentials for this username
|
hudson.util.ListBoxModel |
doFillDistroItems(String hostname,
String port,
String protocol,
String username)
Fills out the distributions dropdown.
|
String |
getDisplayName()
The name of the plugin to display them on the project configuration web page.
|
String |
getHelpFile()
Return the location of the help document for this publisher.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Returns true if this task is applicable to the given project.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic ArtifactPublisher.DescriptorImpl()
@JavaScriptMethod public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>Descriptor.getDisplayName()public String getHelpFile()
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>Descriptor.getHelpFile()public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>AbstractProject.AbstractProjectDescriptor.isApplicable(Descriptor)public hudson.util.FormValidation doCheckUsername(@QueryParameter
String value,
@QueryParameter
String hostname)
value - the usernamehostname - the hostnamepublic hudson.util.ListBoxModel doFillDistroItems(@QueryParameter(value="hostname")
String hostname,
@QueryParameter(value="port")
String port,
@QueryParameter(value="protocol")
String protocol,
@QueryParameter(value="username")
String username)
throws Exception
hostname - the hostnameport - the portprotocol - the protocolusername - the usernameExceptionCopyright © 2016–2018. All rights reserved.