public static enum RepoCloudBuildSource.RevisionType extends Enum<RepoCloudBuildSource.RevisionType>
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
static RepoCloudBuildSource.RevisionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepoCloudBuildSource.RevisionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepoCloudBuildSource.RevisionType BRANCH
public static final RepoCloudBuildSource.RevisionType TAG
public static final RepoCloudBuildSource.RevisionType COMMIT
public static RepoCloudBuildSource.RevisionType[] values()
for (RepoCloudBuildSource.RevisionType c : RepoCloudBuildSource.RevisionType.values()) System.out.println(c);
public static RepoCloudBuildSource.RevisionType 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 nullpublic String getDisplayName()
Copyright © 2017–2021 Google. All rights reserved.