Class SarifLog.ReportingDescriptor
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.ReportingDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSarifLog.ReportingDescriptor.ReportingDescriptorBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SarifLog.ReportingDescriptor.ReportingDescriptorBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)SarifLog.MultiformatMessagegetFullDescription()A description of the report.SarifLog.MultiformatMessagegetHelp()Provides the primary documentation for the report, useful when there is no online documentation.StringgetHelpUri()A URI where the primary documentation for the report can be found.StringgetId()A stable, opaque identifier for the report.SarifLog.MultiformatMessagegetMessageStrings()A set of name/value pairs with arbitrary names.StringgetName()A report identifier that is understandable to an end user.SarifLog.PropertyBaggetProperties()Key/value pairs that provide additional information about the report.SarifLog.MultiformatMessagegetShortDescription()A concise description of the report.inthashCode()SarifLog.ReportingDescriptorsetFullDescription(SarifLog.MultiformatMessage fullDescription)A description of the report.SarifLog.ReportingDescriptorsetHelp(SarifLog.MultiformatMessage help)Provides the primary documentation for the report, useful when there is no online documentation.SarifLog.ReportingDescriptorsetHelpUri(String helpUri)A URI where the primary documentation for the report can be found.SarifLog.ReportingDescriptorsetId(String id)A stable, opaque identifier for the report.SarifLog.ReportingDescriptorsetMessageStrings(SarifLog.MultiformatMessage messageStrings)A set of name/value pairs with arbitrary names.SarifLog.ReportingDescriptorsetName(String name)A report identifier that is understandable to an end user.SarifLog.ReportingDescriptorsetProperties(SarifLog.PropertyBag properties)Key/value pairs that provide additional information about the report.SarifLog.ReportingDescriptorsetShortDescription(SarifLog.MultiformatMessage shortDescription)A concise description of the report.StringtoString()
-
-
-
Method Detail
-
builder
public static SarifLog.ReportingDescriptor.ReportingDescriptorBuilder builder()
-
getId
public String getId()
A stable, opaque identifier for the report.
-
getName
public String getName()
A report identifier that is understandable to an end user.
-
getShortDescription
public SarifLog.MultiformatMessage getShortDescription()
A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text.
-
getFullDescription
public SarifLog.MultiformatMessage getFullDescription()
A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result.
-
getMessageStrings
public SarifLog.MultiformatMessage getMessageStrings()
A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.
-
getHelpUri
public String getHelpUri()
A URI where the primary documentation for the report can be found.
-
getHelp
public SarifLog.MultiformatMessage getHelp()
Provides the primary documentation for the report, useful when there is no online documentation.
-
getProperties
public SarifLog.PropertyBag getProperties()
Key/value pairs that provide additional information about the report.
-
setId
public SarifLog.ReportingDescriptor setId(String id)
A stable, opaque identifier for the report.- Returns:
this.
-
setName
public SarifLog.ReportingDescriptor setName(String name)
A report identifier that is understandable to an end user.- Returns:
this.
-
setShortDescription
public SarifLog.ReportingDescriptor setShortDescription(SarifLog.MultiformatMessage shortDescription)
A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text.- Returns:
this.
-
setFullDescription
public SarifLog.ReportingDescriptor setFullDescription(SarifLog.MultiformatMessage fullDescription)
A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result.- Returns:
this.
-
setMessageStrings
public SarifLog.ReportingDescriptor setMessageStrings(SarifLog.MultiformatMessage messageStrings)
A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.- Returns:
this.
-
setHelpUri
public SarifLog.ReportingDescriptor setHelpUri(String helpUri)
A URI where the primary documentation for the report can be found.- Returns:
this.
-
setHelp
public SarifLog.ReportingDescriptor setHelp(SarifLog.MultiformatMessage help)
Provides the primary documentation for the report, useful when there is no online documentation.- Returns:
this.
-
setProperties
public SarifLog.ReportingDescriptor setProperties(SarifLog.PropertyBag properties)
Key/value pairs that provide additional information about the report.- Returns:
this.
-
canEqual
protected boolean canEqual(Object other)
-
-