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
public final class AxivionSuite extends Tool
Provides a parser and customized messages for the Axivion Suite.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AxivionSuite.AxivionSuiteToolDescriptor
Descriptor forAxivionSuite
.-
Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor
-
-
Constructor Summary
Constructors Constructor Description AxivionSuite()
Creates a new instance ofAxivionSuite
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBasedir()
String
getCredentialsId()
String
getNamedFilter()
String
getProjectUrl()
int
hashCode()
protected Object
readResolve()
Called after de-serialization to retain backward compatibility.edu.hm.hafner.analysis.Report
scan(Run<?,?> run, FilePath workspace, Charset sourceCodeEncoding, LogHandler logger)
Scans the results of a build for issues.void
setBasedir(String basedir)
void
setCredentialsId(String credentialsId)
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 Detail
-
AxivionSuite
@DataBoundConstructor public AxivionSuite()
Creates a new instance ofAxivionSuite
.
-
-
Method Detail
-
getBasedir
public String getBasedir()
-
setBasedir
@DataBoundSetter public void setBasedir(String basedir)
-
getProjectUrl
public String getProjectUrl()
-
setProjectUrl
@DataBoundSetter public void setProjectUrl(String projectUrl)
Stapler setter for the projectUrl field. Verifies the url and encodes the path part e.g. whitespaces in project names.- Parameters:
projectUrl
- url to a Axivion dashboard project
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
getNamedFilter
public String getNamedFilter()
-
setNamedFilter
@DataBoundSetter public void setNamedFilter(String namedFilter)
-
readResolve
protected Object 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, LogHandler logger) throws edu.hm.hafner.analysis.ParsingException, edu.hm.hafner.analysis.ParsingCanceledException
Description 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
-
-