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 forAxivionSuite
. *
-
-
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 AxivionSuiteToolDescriptor()
Creates the descriptor instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckBasedir(AbstractProject<?,?> project, String basedir)
Checks whether the given path is a correct os path.FormValidation
doCheckCredentialsId(Item item, String credentialsId)
Checks whether valid credentials are given.FormValidation
doCheckProjectUrl(AbstractProject<?,?> project, String projectUrl)
Dashboard project url must be a valid url.ListBoxModel
doFillCredentialsIdItems(Item item, String credentialsId)
Shows the user all available credential id items.String
getDisplayName()
String
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.StaticAnalysisLabelProvider
getLabelProvider()
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, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Tool>
-
getHelp
public String 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
public StaticAnalysisLabelProvider 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 AbstractProject<?,?> 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 AbstractProject<?,?> 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
-
-