Class SarifLog.PhysicalLocation.PhysicalLocationBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.PhysicalLocation.PhysicalLocationBuilder
-
- Enclosing class:
- SarifLog.PhysicalLocation
public static class SarifLog.PhysicalLocation.PhysicalLocationBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.PhysicalLocation.PhysicalLocationBuilder
artifactLocation(SarifLog.ArtifactLocation artifactLocation)
The location of the artifact.SarifLog.PhysicalLocation
build()
SarifLog.PhysicalLocation.PhysicalLocationBuilder
region(SarifLog.Region region)
Specifies a portion of the artifact.String
toString()
-
-
-
Method Detail
-
artifactLocation
public SarifLog.PhysicalLocation.PhysicalLocationBuilder artifactLocation(SarifLog.ArtifactLocation artifactLocation)
The location of the artifact.- Returns:
this
.
-
region
public SarifLog.PhysicalLocation.PhysicalLocationBuilder region(SarifLog.Region region)
Specifies a portion of the artifact.- Returns:
this
.
-
build
public SarifLog.PhysicalLocation build()
-
-