Package hudson.plugins.tics
Class TicsPublisher.DescriptorImpl
- Enclosing class:
- TicsPublisher
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
FieldsFields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest2 request, net.sf.json.JSONObject json) doCheckGlobalViewerUrl
(Item item, String value) Form validation of globalViewerUrl.doCheckTicsPath
(AbstractProject<?, ?> project, TaskListener listener, String value, String viewerUrl, String credentialsId) doCheckViewerUrl
(AbstractProject<?, ?> project, TaskListener listener, String value) Form validation of viewerUrl.doFillCredentialsIdItems
(Item context, String credentialsId) Called by Jenkins to fill credentials dropdown listReferenced inglobal.jelly
.boolean
isApplicable
(Class<? extends AbstractProject> jobType) Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
globalViewerUrl
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 request, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<Publisher>
- Throws:
Descriptor.FormException
-
doCheckViewerUrl
@POST public FormValidation doCheckViewerUrl(@AncestorInPath AbstractProject<?, ?> project, @AncestorInPath TaskListener listener, @QueryParameter String value) throws IOException, InterruptedExceptionForm validation of viewerUrl. Uses Jenkinks naming convention "doCheckXXXXX" to bind to entry field. Further reading: https://wiki.jenkins-ci.org/display/JENKINS/Form+Validation- Throws:
IOException
InterruptedException
-
doCheckGlobalViewerUrl
@POST public FormValidation doCheckGlobalViewerUrl(@AncestorInPath Item item, @QueryParameter String value) Form validation of globalViewerUrl. -
doCheckTicsPath
@POST public FormValidation doCheckTicsPath(@AncestorInPath AbstractProject<?, ?> project, @AncestorInPath TaskListener listener, @QueryParameter String value, @QueryParameter String viewerUrl, @QueryParameter String credentialsId) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getViewerUrl
Referenced inglobal.jelly
. -
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String credentialsId) Called by Jenkins to fill credentials dropdown list
-