Enum Class ListChangesOption
- All Implemented Interfaces:
ListOption
,Serializable
,Comparable<ListChangesOption>
,java.lang.constant.Constable
Output options available for retrieval of change details.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInclude allowed change actions client could perform.Include consistency check results.Include a copy of commit messages including review footers.Include allowed actions client could perform.If revisions are included, parse the commit object.If a patch set is included, include the files of the patch set.Return information on the current patch set of the change.Include custom keyed values.If accounts are included, include detailed account info.Include download commands for the caller.Deprecated.Include messages associated with the change.Include the `parents_data` field in each revision, e.g.Include push certificate information along with any patch sets.Set the reviewed boolean for the caller.Include change's reviewer updates.Skip diffstat computation that compute the insertions field (number of lines inserted) and deletions field (number of lines deleted)Deprecated.Include the 'starred' field, that is if the change is starred by the current user .Include the evaluated submit requirements for the caller.Set the submittable boolean.If tracking Ids are included, include detailed tracking Ids info.Include patch set weblinks. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static ListChangesOption
Returns the enum constant of this class with the specified name.static ListChangesOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LABELS
-
DETAILED_LABELS
-
CURRENT_REVISION
Return information on the current patch set of the change. -
ALL_REVISIONS
-
CURRENT_COMMIT
If revisions are included, parse the commit object. -
ALL_COMMITS
-
CURRENT_FILES
If a patch set is included, include the files of the patch set. -
ALL_FILES
-
DETAILED_ACCOUNTS
If accounts are included, include detailed account info. -
MESSAGES
Include messages associated with the change. -
CURRENT_ACTIONS
Include allowed actions client could perform. -
REVIEWED
Set the reviewed boolean for the caller. -
DRAFT_COMMENTS
Deprecated.Not used anymore, kept for backward compatibility -
DOWNLOAD_COMMANDS
Include download commands for the caller. -
WEB_LINKS
Include patch set weblinks. -
CHECK
Include consistency check results. -
CHANGE_ACTIONS
Include allowed change actions client could perform. -
COMMIT_FOOTERS
Include a copy of commit messages including review footers. -
PUSH_CERTIFICATES
Include push certificate information along with any patch sets. -
REVIEWER_UPDATES
Include change's reviewer updates. -
SUBMITTABLE
Set the submittable boolean. -
TRACKING_IDS
If tracking Ids are included, include detailed tracking Ids info. -
SKIP_MERGEABLE
Deprecated.Usegerrit.config
instead to turn this off for your instance. Seechange.mergeabilityComputationBehavior
. -
SKIP_DIFFSTAT
Skip diffstat computation that compute the insertions field (number of lines inserted) and deletions field (number of lines deleted) -
SUBMIT_REQUIREMENTS
Include the evaluated submit requirements for the caller. -
CUSTOM_KEYED_VALUES
Include custom keyed values. -
STAR
Include the 'starred' field, that is if the change is starred by the current user . -
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
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
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 nameNullPointerException
- if the argument is null
-
getValue
public int getValue()- Specified by:
getValue
in interfaceListOption
-