Klasse HadoLintParser

Alle implementierten Schnittstellen:
Serializable

public class HadoLintParser extends JsonIssueParser
A parser for hadolint json output.

Possible usage via docker is:

<pre> docker run --rm -i hadolint/hadolint hadolint -f json - < Dockerfile | jq. </pre>
Autor:
Andreas Mandel
Siehe auch:
  • Konstruktordetails

    • HadoLintParser

      public HadoLintParser()
  • Methodendetails

    • parseJsonArray

      protected void parseJsonArray(Report report, org.json.JSONArray jsonReport, IssueBuilder issueBuilder)
      Beschreibung aus Klasse kopiert: JsonIssueParser
      Parses the specified JSON object and populates the provided report with all issues.
      Setzt außer Kraft:
      parseJsonArray in Klasse JsonIssueParser
      Parameter:
      report - the report to fill
      jsonReport - the input JSON report given as JSON array
      issueBuilder - build to be used to create issues