Package hudson.plugins.git
Class GitPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.git.GitPublisher.DescriptorImpl
-
- Enclosing class:
- GitPublisher
@Extension(ordinal=-1.0) public static class GitPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoCheck(AbstractProject project, String value)Performs on-the-fly validation on the file mask wildcard.FormValidationdoCheckBranchName(String value)FormValidationdoCheckNoteMsg(String value)FormValidationdoCheckRemote(AbstractProject project, org.kohsuke.stapler.StaplerRequest req)FormValidationdoCheckTagName(String value)StringgetDisplayName()StringgetHelpFile()booleanisApplicable(Class<? extends AbstractProject> jobType)-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFilein classDescriptor<Publisher>
-
doCheck
public FormValidation doCheck(@AncestorInPath AbstractProject project, @QueryParameter String value) throws IOException
Performs on-the-fly validation on the file mask wildcard. I don't think this actually ever gets called, but I'm modernizing it anyway.- Parameters:
project- project context for evaluationvalue- string to be evaluated- Returns:
- form validation result
- Throws:
IOException- on input or output error
-
doCheckTagName
public FormValidation doCheckTagName(@QueryParameter String value)
-
doCheckBranchName
public FormValidation doCheckBranchName(@QueryParameter String value)
-
doCheckNoteMsg
public FormValidation doCheckNoteMsg(@QueryParameter String value)
-
doCheckRemote
public FormValidation doCheckRemote(@AncestorInPath AbstractProject project, org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException
- Throws:
IOExceptionjavax.servlet.ServletException
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-
-