Class YAMLPropertyWriter.YamlEntry

java.lang.Object
org.bytemechanics.config.manager.internal.commons.io.YAMLPropertyWriter.YamlEntry
Enclosing class:
YAMLPropertyWriter

protected static final class YAMLPropertyWriter.YamlEntry
extends java.lang.Object
Internal class to store each property tree name with the key and value
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int depth
    Depth of the key
    java.lang.String key
    Property key
    boolean list
    Flag to indicate if is list
    java.lang.String name
    Property key
    java.lang.String value
    Property value
  • Constructor Summary

    Constructors 
    Constructor Description
    YamlEntry​(int _depth, java.lang.String _key, java.lang.String _value)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object _other)  
    int getTab()  
    int hashCode()  
    boolean isList()  
    boolean isStarted()  
    void setStarted​(boolean started)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • depth

      public final int depth
      Depth of the key
    • key

      public final java.lang.String key
      Property key
    • name

      public final java.lang.String name
      Property key
    • value

      public final java.lang.String value
      Property value
    • list

      public final boolean list
      Flag to indicate if is list
  • Constructor Details

    • YamlEntry

      public YamlEntry​(int _depth, java.lang.String _key, java.lang.String _value)
  • Method Details

    • isStarted

      public boolean isStarted()
    • setStarted

      public void setStarted​(boolean started)
    • isList

      public boolean isList()
    • getTab

      public int getTab()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object _other)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object