Enum Class ListChangesOption

java.lang.Object
java.lang.Enum<ListChangesOption>
com.google.gerrit.extensions.client.ListChangesOption
All Implemented Interfaces:
ListOption, Serializable, Comparable<ListChangesOption>, java.lang.constant.Constable

public enum ListChangesOption extends Enum<ListChangesOption> implements ListOption
Output options available for retrieval of change details.
  • Enum Constant Details

    • LABELS

      public static final ListChangesOption LABELS
    • DETAILED_LABELS

      public static final ListChangesOption DETAILED_LABELS
    • CURRENT_REVISION

      public static final ListChangesOption CURRENT_REVISION
      Return information on the current patch set of the change.
    • ALL_REVISIONS

      public static final ListChangesOption ALL_REVISIONS
    • CURRENT_COMMIT

      public static final ListChangesOption CURRENT_COMMIT
      If revisions are included, parse the commit object.
    • ALL_COMMITS

      public static final ListChangesOption ALL_COMMITS
    • CURRENT_FILES

      public static final ListChangesOption CURRENT_FILES
      If a patch set is included, include the files of the patch set.
    • ALL_FILES

      public static final ListChangesOption ALL_FILES
    • DETAILED_ACCOUNTS

      public static final ListChangesOption DETAILED_ACCOUNTS
      If accounts are included, include detailed account info.
    • MESSAGES

      public static final ListChangesOption MESSAGES
      Include messages associated with the change.
    • CURRENT_ACTIONS

      public static final ListChangesOption CURRENT_ACTIONS
      Include allowed actions client could perform.
    • REVIEWED

      public static final ListChangesOption REVIEWED
      Set the reviewed boolean for the caller.
    • DRAFT_COMMENTS

      @Deprecated public static final ListChangesOption DRAFT_COMMENTS
      Deprecated.
      Not used anymore, kept for backward compatibility
    • DOWNLOAD_COMMANDS

      public static final ListChangesOption DOWNLOAD_COMMANDS
      Include download commands for the caller.
    • CHECK

      public static final ListChangesOption CHECK
      Include consistency check results.
    • CHANGE_ACTIONS

      public static final ListChangesOption CHANGE_ACTIONS
      Include allowed change actions client could perform.
    • COMMIT_FOOTERS

      public static final ListChangesOption COMMIT_FOOTERS
      Include a copy of commit messages including review footers.
    • PUSH_CERTIFICATES

      public static final ListChangesOption PUSH_CERTIFICATES
      Include push certificate information along with any patch sets.
    • REVIEWER_UPDATES

      public static final ListChangesOption REVIEWER_UPDATES
      Include change's reviewer updates.
    • SUBMITTABLE

      public static final ListChangesOption SUBMITTABLE
      Set the submittable boolean.
    • TRACKING_IDS

      public static final ListChangesOption TRACKING_IDS
      If tracking Ids are included, include detailed tracking Ids info.
    • SKIP_MERGEABLE

      @Deprecated public static final ListChangesOption SKIP_MERGEABLE
      Deprecated.
      Use gerrit.config instead to turn this off for your instance. See change.mergeabilityComputationBehavior.
    • SKIP_DIFFSTAT

      public static final ListChangesOption SKIP_DIFFSTAT
      Skip diffstat computation that compute the insertions field (number of lines inserted) and deletions field (number of lines deleted)
    • SUBMIT_REQUIREMENTS

      public static final ListChangesOption SUBMIT_REQUIREMENTS
      Include the evaluated submit requirements for the caller.
    • CUSTOM_KEYED_VALUES

      public static final ListChangesOption CUSTOM_KEYED_VALUES
      Include custom keyed values.
    • STAR

      public static final ListChangesOption STAR
      Include the 'starred' field, that is if the change is starred by the current user .
    • PARENTS

      public static final ListChangesOption PARENTS
      Include the `parents_data` field in each revision, e.g. if it's merged in the target branch and whether it points to a patch-set of another change.
  • Method Details

    • values

      public static ListChangesOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ListChangesOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Specified by:
      getValue in interface ListOption