Enum ListChangesOption

    • Enum Constant Detail

      • CURRENT_REVISION

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

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

        public static final ListChangesOption CURRENT_FILES
        If a patch set is included, include the files of the patch set.
      • 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.
      • WEB_LINKS

        public static final ListChangesOption WEB_LINKS
        Include patch set weblinks.
      • 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)
    • Method Detail

      • values

        public static ListChangesOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ListChangesOption c : ListChangesOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ListChangesOption valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null