Class SarifLog.Location
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Location
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSarifLog.Location.LocationBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.Location.LocationBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)IntegergetId()Value that distinguishes this location from all other locations within a single result object.SarifLog.PhysicalLocationgetPhysicalLocation()Identifies the artifact and region.inthashCode()SarifLog.LocationsetId(Integer id)Value that distinguishes this location from all other locations within a single result object.SarifLog.LocationsetPhysicalLocation(SarifLog.PhysicalLocation physicalLocation)Identifies the artifact and region.StringtoString()
-
-
-
Method Detail
-
builder
public static SarifLog.Location.LocationBuilder builder()
-
getId
public Integer getId()
Value that distinguishes this location from all other locations within a single result object.
-
getPhysicalLocation
public SarifLog.PhysicalLocation getPhysicalLocation()
Identifies the artifact and region.
-
setId
public SarifLog.Location setId(Integer id)
Value that distinguishes this location from all other locations within a single result object.- Returns:
this.
-
setPhysicalLocation
public SarifLog.Location setPhysicalLocation(SarifLog.PhysicalLocation physicalLocation)
Identifies the artifact and region.- Returns:
this.
-
canEqual
protected boolean canEqual(Object other)
-
-