Class AxivionSuite
java.lang.Object
hudson.model.AbstractDescribableImpl<Tool>
io.jenkins.plugins.analysis.core.model.Tool
io.jenkins.plugins.analysis.warnings.axivion.AxivionSuite
- All Implemented Interfaces:
Describable<Tool>,Serializable
Provides a parser and customized messages for the Axivion Suite.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanprotected ObjectCalled after deserialization to retain backward compatibility.edu.hm.hafner.analysis.Reportscan(Run<?, ?> run, FilePath workspace, Charset sourceCodeEncoding, io.jenkins.plugins.util.LogHandler logger) Scans the results of a build for issues.voidsetBasedir(String basedir) voidsetCredentialsId(String credentialsId) voidsetIgnoreSuppressedOrJustified(boolean ignoreSuppressedOrJustified) voidsetNamedFilter(String namedFilter) voidsetProjectUrl(String projectUrl) Stapler setter for the projectUrl field.Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool
getActualId, getActualName, getDescriptor, getIcon, getId, getLabelProvider, getName, getSymbolName, setIcon, setId, setJenkinsFacade, setName
-
Constructor Details
-
AxivionSuite
@DataBoundConstructor public AxivionSuite()Creates a new instance ofAxivionSuite.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getBasedir
-
setBasedir
-
getProjectUrl
-
setProjectUrl
Stapler setter for the projectUrl field. Verifies the url and encodes the path part e.g. whitespaces in project names.- Parameters:
projectUrl- url to an Axivion dashboard project
-
getCredentialsId
-
setCredentialsId
-
getNamedFilter
-
setNamedFilter
-
isIgnoreSuppressedOrJustified
public boolean isIgnoreSuppressedOrJustified() -
setIgnoreSuppressedOrJustified
@DataBoundSetter public void setIgnoreSuppressedOrJustified(boolean ignoreSuppressedOrJustified) -
readResolve
Called after deserialization to retain backward compatibility.- Overrides:
readResolvein classTool- Returns:
- this
-
scan
public edu.hm.hafner.analysis.Report scan(Run<?, ?> run, FilePath workspace, Charset sourceCodeEncoding, io.jenkins.plugins.util.LogHandler logger) throws edu.hm.hafner.analysis.ParsingException, edu.hm.hafner.analysis.ParsingCanceledExceptionDescription copied from class:ToolScans the results of a build for issues. This method is invoked on Jenkins master. I.e., if a tool wants to process some build results, it is required to run aMasterToSlaveCallable.- Specified by:
scanin classTool- Parameters:
run- the buildworkspace- the workspace of the buildsourceCodeEncoding- the encoding to use to read source fileslogger- the logger- Returns:
- the created report
- Throws:
edu.hm.hafner.analysis.ParsingException- signals that during parsing a non-recoverable error has been occurrededu.hm.hafner.analysis.ParsingCanceledException- signals that the user has aborted the parsing
-