Class SarifLog.ArtifactLocation.ArtifactLocationBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.ArtifactLocation.ArtifactLocationBuilder
-
- Enclosing class:
- SarifLog.ArtifactLocation
public static class SarifLog.ArtifactLocation.ArtifactLocationBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.ArtifactLocationbuild()SarifLog.ArtifactLocation.ArtifactLocationBuilderindex(Integer index)The index within the run artifacts array of the artifact object associated with the artifact location.StringtoString()SarifLog.ArtifactLocation.ArtifactLocationBuilderuri(String uri)A string containing a valid relative or absolute URI.SarifLog.ArtifactLocation.ArtifactLocationBuilderuriBaseId(String uriBaseId)A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted.
-
-
-
Method Detail
-
uri
public SarifLog.ArtifactLocation.ArtifactLocationBuilder uri(String uri)
A string containing a valid relative or absolute URI.- Returns:
this.
-
uriBaseId
public SarifLog.ArtifactLocation.ArtifactLocationBuilder uriBaseId(String uriBaseId)
A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted.- Returns:
this.
-
index
public SarifLog.ArtifactLocation.ArtifactLocationBuilder index(Integer index)
The index within the run artifacts array of the artifact object associated with the artifact location.- Returns:
this.
-
build
public SarifLog.ArtifactLocation build()
-
-