Class RemoteConfigEntries.Entry

java.lang.Object
com.ultikits.ultitools.utils.RemoteConfigEntries.Entry
Enclosing class:
RemoteConfigEntries

static final class RemoteConfigEntries.Entry extends Object
One editable setting: its dotted key, label, type, comment line, value and constraints.
  • Field Details

    • key

      private final String key
    • label

      private final String label
    • kind

      private final RemoteConfigEntries.Kind kind
    • comment

      private final String comment
    • value

      private final com.google.gson.JsonElement value
    • constraints

      private final com.google.gson.JsonObject constraints
    • options

      private final List<String> options
  • Constructor Details

  • Method Details

    • key

      String key()
    • kind

    • path

      List<String> path()
      Returns:
      the key as the YAML path it addresses
    • toWire

      com.google.gson.JsonObject toWire()
      Returns:
      the config.entries.result entry object; callers add it to the array