Enum ListChangesOption
- java.lang.Object
-
- java.lang.Enum<ListChangesOption>
-
- com.google.gerrit.extensions.client.ListChangesOption
-
- All Implemented Interfaces:
ListOption
,Serializable
,Comparable<ListChangesOption>
public enum ListChangesOption extends Enum<ListChangesOption> implements ListOption
Output options available for retrieval of change details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_COMMITS
ALL_FILES
ALL_REVISIONS
CHANGE_ACTIONS
Include allowed change actions client could perform.CHECK
Include consistency check results.COMMIT_FOOTERS
Include a copy of commit messages including review footers.CURRENT_ACTIONS
Include allowed actions client could perform.CURRENT_COMMIT
If revisions are included, parse the commit object.CURRENT_FILES
If a patch set is included, include the files of the patch set.CURRENT_REVISION
Return information on the current patch set of the change.DETAILED_ACCOUNTS
If accounts are included, include detailed account info.DETAILED_LABELS
DOWNLOAD_COMMANDS
Include download commands for the caller.DRAFT_COMMENTS
Deprecated.LABELS
MESSAGES
Include messages associated with the change.PUSH_CERTIFICATES
Include push certificate information along with any patch sets.REVIEWED
Set the reviewed boolean for the caller.REVIEWER_UPDATES
Include change's reviewer updates.SKIP_DIFFSTAT
Skip diffstat computation that compute the insertions field (number of lines inserted) and deletions field (number of lines deleted)SKIP_MERGEABLE
Deprecated.SUBMITTABLE
Set the submittable boolean.TRACKING_IDS
If tracking Ids are included, include detailed tracking Ids info.WEB_LINKS
Include patch set weblinks.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static ListChangesOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListChangesOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.
-
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.Usegerrit.config
instead to turn this off for your instance. Seechange.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 nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceListOption
-
-