public enum RepositoryType extends Enum<RepositoryType>
| Modifier and Type | Method and Description |
|---|---|
static RepositoryType |
fromRepositoryURI(URI uri) |
static RepositoryType |
fromRepositoryURL(String stringURI) |
static RepositoryType |
fromType(String type) |
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 SVN
public static final RepositoryType GIT
public static final RepositoryType CVS
public static final RepositoryType ARCHIVE
public static final RepositoryType UNKNOWN
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 nullpublic static RepositoryType fromRepositoryURL(String stringURI)
public static RepositoryType fromRepositoryURI(URI uri)
public static RepositoryType fromType(String type)
Copyright © 2020 JBoss by Red Hat. All rights reserved.