Class OpenTasks
java.lang.Object
hudson.model.AbstractDescribableImpl<Tool>
io.jenkins.plugins.analysis.core.model.Tool
io.jenkins.plugins.analysis.warnings.tasks.OpenTasks
- All Implemented Interfaces:
Describable<Tool>
,Serializable
Provides a files scanner that detects open tasks in source code files.
- Author:
- Ullrich Hafner
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Descriptor for this static analysis tool.Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Ant file-set pattern of files to exclude from work.Returns the high priority tag identifiers.boolean
Returns whether case should be ignored during the scanning.Returns the Ant file-set pattern of files to work with.boolean
Returns whether the identifiers should be treated as regular expression.Returns the low priority tag identifiers.Returns the normal priority tag identifiers.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
setExcludePattern
(String excludePattern) void
setHighTags
(String highTags) void
setIgnoreCase
(boolean ignoreCase) void
setIncludePattern
(String includePattern) void
setIsRegularExpression
(boolean isRegularExpression) void
setLowTags
(String lowTags) void
setNormalTags
(String normalTags) Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool
getActualId, getActualName, getDescriptor, getId, getLabelProvider, getName, getSymbolName, readResolve, setId, setJenkinsFacade, setName
-
Constructor Details
-
OpenTasks
@DataBoundConstructor public OpenTasks()Creates a new instance ofOpenTasks
.
-
-
Method Details
-
getIncludePattern
Returns the Ant file-set pattern of files to work with.- Returns:
- Ant file-set pattern of files to work with
-
setIncludePattern
-
getExcludePattern
Returns the Ant file-set pattern of files to exclude from work.- Returns:
- Ant file-set pattern of files to exclude from work
-
setExcludePattern
-
getHighTags
Returns the high priority tag identifiers.- Returns:
- the high priority tag identifiers
-
setHighTags
-
getNormalTags
Returns the normal priority tag identifiers.- Returns:
- the normal priority tag identifiers
-
setNormalTags
-
getLowTags
Returns the low priority tag identifiers.- Returns:
- the low priority tag identifiers
-
setLowTags
-
getIgnoreCase
public boolean getIgnoreCase()Returns whether case should be ignored during the scanning.- Returns:
true
if case should be ignored during the scanning
-
setIgnoreCase
@DataBoundSetter public void setIgnoreCase(boolean ignoreCase) -
getIsRegularExpression
public boolean getIsRegularExpression()Returns whether the identifiers should be treated as regular expression.- Returns:
true
if the identifiers should be treated as regular expression
-
setIsRegularExpression
@DataBoundSetter public void setIsRegularExpression(boolean isRegularExpression) -
scan
public edu.hm.hafner.analysis.Report scan(Run<?, ?> run, FilePath workspace, Charset sourceCodeEncoding, io.jenkins.plugins.util.LogHandler logger) 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
.
-