Class WalkConfig

java.lang.Object
com.networknt.schema.walk.WalkConfig

public class WalkConfig extends Object
Configuration used when walking a schema.
  • Method Details

    • getInstance

      public static WalkConfig getInstance()
    • getApplyDefaultsStrategy

      public ApplyDefaultsStrategy getApplyDefaultsStrategy()
      Gets the strategy for applying defaults.
      Returns:
      the strategy for applying defaults
    • getPropertyWalkHandler

      public WalkHandler getPropertyWalkHandler()
      Gets the property walk handler.
      Returns:
      the property walk handler
    • getItemWalkHandler

      public WalkHandler getItemWalkHandler()
      Gets the item walk handler.
      Returns:
      the item walk handler
    • getKeywordWalkHandler

      public WalkHandler getKeywordWalkHandler()
      Gets the keyword walk handler.
      Returns:
      the keyword walk handler
    • builder

      public static WalkConfig.Builder builder()
      Creates a new builder for WalkConfig.
      Returns:
      the builder
    • builder

      public static WalkConfig.Builder builder(WalkConfig config)
      Creates a new builder for WalkConfig and copies the configuration.
      Parameters:
      config - the configuration to copy
      Returns:
      the builder