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 class
SarifLog.Location.LocationBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.Location.LocationBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Integer
getId()
Value that distinguishes this location from all other locations within a single result object.SarifLog.PhysicalLocation
getPhysicalLocation()
Identifies the artifact and region.int
hashCode()
SarifLog.Location
setId(Integer id)
Value that distinguishes this location from all other locations within a single result object.SarifLog.Location
setPhysicalLocation(SarifLog.PhysicalLocation physicalLocation)
Identifies the artifact and region.String
toString()
-
-
-
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)
-
-