Class SarifLog.Location.LocationBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Location.LocationBuilder
-
- Enclosing class:
- SarifLog.Location
public static class SarifLog.Location.LocationBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.Locationbuild()SarifLog.Location.LocationBuilderid(Integer id)Value that distinguishes this location from all other locations within a single result object.SarifLog.Location.LocationBuilderphysicalLocation(SarifLog.PhysicalLocation physicalLocation)Identifies the artifact and region.StringtoString()
-
-
-
Method Detail
-
id
public SarifLog.Location.LocationBuilder id(Integer id)
Value that distinguishes this location from all other locations within a single result object.- Returns:
this.
-
physicalLocation
public SarifLog.Location.LocationBuilder physicalLocation(SarifLog.PhysicalLocation physicalLocation)
Identifies the artifact and region.- Returns:
this.
-
build
public SarifLog.Location build()
-
-