java.lang.Object
ml.karmaconfigs.api.common.karmafile.Key
All Implemented Interfaces:
Serializable

public final class Key extends Object implements Serializable
Karma files key
See Also:
Serialized Form
  • Constructor Details

    • Key

      public Key(String keyPath, Object keyValue)
      Initialize the karma key
      Parameters:
      keyPath - the path
      keyValue - the value
  • Method Details

    • getPath

      public String getPath()
      Get the key path
      Returns:
      the key path
    • getValue

      public Object getValue()
      Get the key value
      Returns:
      the key value