public static enum Repository.Scm extends Enum<Repository.Scm>
Enum Constant and Description |
---|
BB |
CVS |
GIT |
HG |
NONE |
PERFORCE |
STASH |
SVN |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static Repository.Scm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Repository.Scm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Repository.Scm CVS
public static final Repository.Scm SVN
public static final Repository.Scm PERFORCE
public static final Repository.Scm HG
public static final Repository.Scm GIT
public static final Repository.Scm BB
public static final Repository.Scm STASH
public static final Repository.Scm NONE
public static Repository.Scm[] values()
for (Repository.Scm c : Repository.Scm.values()) System.out.println(c);
public static Repository.Scm 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 getKey()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.