Class SarifLog.Region.RegionBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Region.RegionBuilder
-
- Enclosing class:
- SarifLog.Region
public static class SarifLog.Region.RegionBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.Region
build()
SarifLog.Region.RegionBuilder
endColumn(Integer endColumn)
The column number of the character following the end of the region.SarifLog.Region.RegionBuilder
endLine(Integer endLine)
The line number of the last character in the region.SarifLog.Region.RegionBuilder
startColumn(Integer startColumn)
The column number of the first character in the region.SarifLog.Region.RegionBuilder
startLine(Integer startLine)
The line number of the first character in the region.String
toString()
-
-
-
Method Detail
-
startLine
public SarifLog.Region.RegionBuilder startLine(Integer startLine)
The line number of the first character in the region.- Returns:
this
.
-
startColumn
public SarifLog.Region.RegionBuilder startColumn(Integer startColumn)
The column number of the first character in the region.- Returns:
this
.
-
endLine
public SarifLog.Region.RegionBuilder endLine(Integer endLine)
The line number of the last character in the region.- Returns:
this
.
-
endColumn
public SarifLog.Region.RegionBuilder endColumn(Integer endColumn)
The column number of the character following the end of the region.- Returns:
this
.
-
build
public SarifLog.Region build()
-
-