Class ASTSchema

    • Constructor Detail

      • ASTSchema

        public ASTSchema()
    • Method Detail

      • doJson

        public void doJson​(org.kohsuke.stapler.StaplerRequest req,
                           org.kohsuke.stapler.StaplerResponse rsp)
                    throws IOException,
                           javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • getJSONSchema

        public static com.github.fge.jsonschema.main.JsonSchema getJSONSchema()
                                                                       throws com.github.fge.jsonschema.core.exceptions.ProcessingException
        Get the Pipeline Config AST JSON schema.
        Returns:
        the schema in JsonSchema form.
        Throws:
        com.github.fge.jsonschema.core.exceptions.ProcessingException - if there are issues reading the schema