Class CustomPropertyUtils

java.lang.Object
org.yaml.snakeyaml.introspector.PropertyUtils
com.randomnoun.maven.plugin.yamlCombine.CustomPropertyUtils

public class CustomPropertyUtils extends org.yaml.snakeyaml.introspector.PropertyUtils
A class to retain ordering in YAML files
  • Constructor Details

  • Method Details

    • getPropertiesMap

      protected Map<String,org.yaml.snakeyaml.introspector.Property> getPropertiesMap(Class<?> type, org.yaml.snakeyaml.introspector.BeanAccess bAccess)
      Overrides:
      getPropertiesMap in class org.yaml.snakeyaml.introspector.PropertyUtils
    • getProperties

      public Set<org.yaml.snakeyaml.introspector.Property> getProperties(Class<? extends Object> type)
      Overrides:
      getProperties in class org.yaml.snakeyaml.introspector.PropertyUtils
    • getProperties

      public Set<org.yaml.snakeyaml.introspector.Property> getProperties(Class<? extends Object> type, org.yaml.snakeyaml.introspector.BeanAccess bAccess)
      Overrides:
      getProperties in class org.yaml.snakeyaml.introspector.PropertyUtils
    • createPropertySet

      protected Set<org.yaml.snakeyaml.introspector.Property> createPropertySet(Class<? extends Object> type, org.yaml.snakeyaml.introspector.BeanAccess bAccess)
      Overrides:
      createPropertySet in class org.yaml.snakeyaml.introspector.PropertyUtils
    • getProperty

      public org.yaml.snakeyaml.introspector.Property getProperty(Class<? extends Object> type, String name)
      Overrides:
      getProperty in class org.yaml.snakeyaml.introspector.PropertyUtils
    • getProperty

      public org.yaml.snakeyaml.introspector.Property getProperty(Class<? extends Object> type, String name, org.yaml.snakeyaml.introspector.BeanAccess bAccess)
      Overrides:
      getProperty in class org.yaml.snakeyaml.introspector.PropertyUtils
    • setBeanAccess

      public void setBeanAccess(org.yaml.snakeyaml.introspector.BeanAccess beanAccess)
      Overrides:
      setBeanAccess in class org.yaml.snakeyaml.introspector.PropertyUtils
    • setAllowReadOnlyProperties

      public void setAllowReadOnlyProperties(boolean allowReadOnlyProperties)
      Overrides:
      setAllowReadOnlyProperties in class org.yaml.snakeyaml.introspector.PropertyUtils
    • isAllowReadOnlyProperties

      public boolean isAllowReadOnlyProperties()
      Overrides:
      isAllowReadOnlyProperties in class org.yaml.snakeyaml.introspector.PropertyUtils
    • setSkipMissingProperties

      public void setSkipMissingProperties(boolean skipMissingProperties)
      Skip properties that are missing during deserialization of YAML to a Java object. The default is false.
      Overrides:
      setSkipMissingProperties in class org.yaml.snakeyaml.introspector.PropertyUtils
      Parameters:
      skipMissingProperties - true if missing properties should be skipped, false otherwise.
    • isSkipMissingProperties

      public boolean isSkipMissingProperties()
      Overrides:
      isSkipMissingProperties in class org.yaml.snakeyaml.introspector.PropertyUtils