public static enum GerritSourceContext.RevisionCase extends Enum<GerritSourceContext.RevisionCase> implements Internal.EnumLite
Enum Constant and Description |
---|
ALIAS_CONTEXT |
REVISION_ID |
REVISION_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static GerritSourceContext.RevisionCase |
forNumber(int value) |
int |
getNumber() |
static GerritSourceContext.RevisionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GerritSourceContext.RevisionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GerritSourceContext.RevisionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GerritSourceContext.RevisionCase REVISION_ID
public static final GerritSourceContext.RevisionCase ALIAS_CONTEXT
public static final GerritSourceContext.RevisionCase REVISION_NOT_SET
public static GerritSourceContext.RevisionCase[] values()
for (GerritSourceContext.RevisionCase c : GerritSourceContext.RevisionCase.values()) System.out.println(c);
public static GerritSourceContext.RevisionCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static GerritSourceContext.RevisionCase valueOf(int value)
forNumber(int)
instead.public static GerritSourceContext.RevisionCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite
Copyright © 2019 Google LLC. All rights reserved.