T - The type of source code item on which this rule can operateR - The type of the source code item generated by this rulepublic interface Rule<T,R>
R apply(String nodeName, com.fasterxml.jackson.databind.JsonNode node, T generatableType, Schema currentSchema)
nodeName - the name of the JSON schema nodenode - the JSON schema node that has caused this rule to be appliedgeneratableType - A code generation construct to which this rule should be
appliedcurrentSchema - the schema to which this schema rule (and the given node)
belongs.Copyright © 2014. All Rights Reserved.