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
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
AxivionSuite

@Symbol({"axivionSuite","axivion"}) @Extension public static class AxivionSuite.AxivionSuiteToolDescriptor extends Tool.ToolDescriptor
Descriptor for AxivionSuite. *
  • Constructor Details

    • AxivionSuiteToolDescriptor

      public AxivionSuiteToolDescriptor()
      Creates the descriptor instance.
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<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 class Tool.ToolDescriptor
      Returns:
      the help
    • getLabelProvider

      public StaticAnalysisLabelProvider getLabelProvider()
      Description copied from class: Tool.ToolDescriptor
      Returns a StaticAnalysisLabelProvider that will render all tool specific labels.
      Overrides:
      getLabelProvider in class Tool.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 configured
      projectUrl - 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 configured
      basedir - 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 configuration
      credentialsId - 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 configuration
      credentialsId - current used credentials
      Returns:
      a list view of all credential ids