public static enum SourceContext.ContextCase extends Enum<SourceContext.ContextCase> implements Internal.EnumLite
Enum Constant and Description |
---|
CLOUD_REPO |
CONTEXT_NOT_SET |
GERRIT |
GIT |
Modifier and Type | Method and Description |
---|---|
static SourceContext.ContextCase |
forNumber(int value) |
int |
getNumber() |
static SourceContext.ContextCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SourceContext.ContextCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceContext.ContextCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceContext.ContextCase CLOUD_REPO
public static final SourceContext.ContextCase GERRIT
public static final SourceContext.ContextCase GIT
public static final SourceContext.ContextCase CONTEXT_NOT_SET
public static SourceContext.ContextCase[] values()
for (SourceContext.ContextCase c : SourceContext.ContextCase.values()) System.out.println(c);
public static SourceContext.ContextCase 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 SourceContext.ContextCase valueOf(int value)
forNumber(int)
instead.public static SourceContext.ContextCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite
Copyright © 2019 Google LLC. All rights reserved.