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 classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
protected Object
Called after de-serialization to retain backward compatibility.edu.hm.hafner.analysis.Report
scan
(Run<?, ?> run, FilePath workspace, Charset sourceCodeEncoding, io.jenkins.plugins.util.LogHandler logger) Scans the results of a build for issues.void
setBasedir
(String basedir) void
setCredentialsId
(String credentialsId) void
setIgnoreSuppressedOrJustified
(boolean ignoreSuppressedOrJustified) void
setNamedFilter
(String namedFilter) void
setProjectUrl
(String projectUrl) Stapler setter for the projectUrl field.Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool
getActualId, getActualName, getDescriptor, getId, getLabelProvider, getName, getSymbolName, 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 de-serialization to retain backward compatibility.- Overrides:
readResolve
in 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:Tool
Scans 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:
scan
in 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 parsing has been aborted by the user
-