Class Change.Key

java.lang.Object
com.google.gerrit.entities.Change.Key
Enclosing class:
Change

public abstract static class Change.Key extends Object
Globally unique identification of this change. This generally takes the form of a string "Ixxxxxx...", and is stored in the Change-Id footer of a commit.
  • Constructor Details

    • Key

      public Key()
  • Method Details

    • parse

      public static Change.Key parse(String str)
    • get

      public String get()
    • max

      public Change.Key max()
      Construct a key that is after all keys prefixed by this key.
    • abbreviate

      public String abbreviate()
      Obtain a shorter version of this key string, using a leading prefix.
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • typeAdapter

      public static com.google.gson.TypeAdapter<Change.Key> typeAdapter(com.google.gson.Gson gson)