public enum RepositoryType extends Enum<RepositoryType>
| Enum Constant and Description |
|---|
GIT
Git repository.
|
MERCURIAL
Mercurial repository.
|
| Modifier and Type | Method and Description |
|---|---|
static RepositoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryType GIT
public static final RepositoryType MERCURIAL
public static RepositoryType[] values()
for (RepositoryType c : RepositoryType.values()) System.out.println(c);
public static RepositoryType 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/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/