@Extension
@Symbol(value="OverOpsQuery")
public final class DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doTestConnection(String overOpsAppURL,
String overOpsURL,
String overOpsSID,
hudson.util.Secret overOpsAPIKey)
Tests to make sure the global settings for the Jenkins plugin pass checks
1st check is the URL for the APIs
2nd check is the serviceID to make sure the API token provided has access
|
String |
getDisplayName() |
hudson.util.Secret |
getOverOpsAPIKey() |
String |
getOverOpsAppURL() |
String |
getOverOpsSID() |
String |
getOverOpsURL() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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, toMap
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
configure
in class hudson.model.Descriptor<hudson.tasks.Publisher>
public String getOverOpsAppURL()
public String getOverOpsURL()
public String getOverOpsSID()
public hudson.util.Secret getOverOpsAPIKey()
@POST public hudson.util.FormValidation doTestConnection(@QueryParameter(value="overOpsAppURL") String overOpsAppURL, @QueryParameter(value="overOpsURL") String overOpsURL, @QueryParameter(value="overOpsSID") String overOpsSID, @QueryParameter(value="overOpsAPIKey") hudson.util.Secret overOpsAPIKey)
overOpsURL
- overOpsSID
- overOpsAPIKey
- Copyright © 2016–2021. All rights reserved.