Class AxivionSuite.AxivionSuiteToolDescriptor
java.lang.Object
hudson.model.Descriptor<Tool>
io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
io.jenkins.plugins.analysis.warnings.axivion.AxivionSuite.AxivionSuiteToolDescriptor
- Enclosing class:
AxivionSuite
@Symbol({"axivionSuite","axivion"})
@Extension
public static class AxivionSuite.AxivionSuiteToolDescriptor
extends Tool.ToolDescriptor
Descriptor for
AxivionSuite
. *-
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
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckBasedir
(BuildableItem project, String basedir) Checks whether the given path is a correct os path.doCheckCredentialsId
(Item item, String credentialsId) Checks whether valid credentials are given.doCheckProjectUrl
(BuildableItem project, String projectUrl) Dashboard project url must be a valid url.doFillCredentialsIdItems
(Item item, String credentialsId) Shows the user all available credential id items.getHelp()
Returns an optional help text that can provide useful hints on how to configure the static analysis tool so that the report files could be parsed by Jenkins.Returns aStaticAnalysisLabelProvider
that will render all tool specific labels.Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getId, getName, getSymbolName, getUrl, isPostProcessingEnabled
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, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
AxivionSuiteToolDescriptor
public AxivionSuiteToolDescriptor()Creates the descriptor instance.
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Tool>
-
getHelp
Description copied from class:Tool.ToolDescriptor
Returns an optional help text that can provide useful hints on how to configure the static analysis tool so that the report files could be parsed by Jenkins. This help can be a plain text message or an HTML snippet.- Overrides:
getHelp
in classTool.ToolDescriptor
- Returns:
- the help
-
getLabelProvider
Description copied from class:Tool.ToolDescriptor
Returns aStaticAnalysisLabelProvider
that will render all tool specific labels.- Overrides:
getLabelProvider
in classTool.ToolDescriptor
- Returns:
- a tool specific
StaticAnalysisLabelProvider
-
doCheckProjectUrl
@POST public FormValidation doCheckProjectUrl(@AncestorInPath BuildableItem project, @QueryParameter String projectUrl) Dashboard project url must be a valid url.- Parameters:
project
- the project that is configuredprojectUrl
- url to a project inside an Axivion dashboard- Returns:
FormValidation.ok()
is a valid url
-
doCheckBasedir
@POST public FormValidation doCheckBasedir(@AncestorInPath BuildableItem project, @QueryParameter String basedir) Checks whether the given path is a correct os path.- Parameters:
project
- the project that is configuredbasedir
- path to check- Returns:
FormValidation.ok()
is a valid url
-
doCheckCredentialsId
@POST public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String credentialsId) Checks whether valid credentials are given.- Parameters:
item
- jenkins configurationcredentialsId
- id of the stored credentials pair- Returns:
FormValidation.ok()
if credentials exist and are valid
-
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) Shows the user all available credential id items.- Parameters:
item
- jenkins configurationcredentialsId
- current used credentials- Returns:
- a list view of all credential ids
-