summaryrefslogtreecommitdiffstats
path: root/gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java
diff options
context:
space:
mode:
Diffstat (limited to 'gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java')
-rw-r--r--gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java b/gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java
index a5ab851ae8..3d08d06bb9 100644
--- a/gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java
+++ b/gerrit-common/src/main/java/com/google/gerrit/common/changes/ListChangesOption.java
@@ -19,6 +19,7 @@ import java.util.EnumSet;
/** Output options available when using {@code /changes/} RPCs. */
public enum ListChangesOption {
LABELS(0),
+ DETAILED_LABELS(8),
/** Return information on the current patch set of the change. */
CURRENT_REVISION(1),
@@ -30,7 +31,10 @@ public enum ListChangesOption {
/** If a patch set is included, include the files of the patch set. */
CURRENT_FILES(5),
- ALL_FILES(6);
+ ALL_FILES(6),
+
+ /** If accounts are included, include detailed account info. */
+ DETAILED_ACCOUNTS(7);
private final int value;
@@ -42,10 +46,6 @@ public enum ListChangesOption {
return value;
}
- public static ListChangesOption fromValue(int value) {
- return ListChangesOption.values()[value];
- }
-
public static EnumSet<ListChangesOption> fromBits(int v) {
EnumSet<ListChangesOption> r = EnumSet.noneOf(ListChangesOption.class);
for (ListChangesOption o : ListChangesOption.values()) {