public enum RepositoryScheme extends Enum<RepositoryScheme>
Repository,| Enum Constant and Description |
|---|
FILE
file scheme, using
RepositoryType.LOCAL |
HTTP
https scheme, using
RepositoryType.REMOTE |
HTTPS
https scheme, using
RepositoryType.REMOTE |
| Modifier and Type | Method and Description |
|---|---|
static Set<RepositoryScheme> |
getSchemes(RepositoryType repositoryType) |
RepositoryType |
getSupportedRepositoryType()
Return the
RepositoryType supported by this scheme. |
String |
toString() |
static RepositoryScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryScheme FILE
RepositoryType.LOCALpublic static final RepositoryScheme HTTP
RepositoryType.REMOTEpublic static final RepositoryScheme HTTPS
RepositoryType.REMOTEpublic static RepositoryScheme[] values()
for (RepositoryScheme c : RepositoryScheme.values()) System.out.println(c);
public static RepositoryScheme 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 RepositoryType getSupportedRepositoryType()
RepositoryType supported by this scheme.RepositoryTypepublic static Set<RepositoryScheme> getSchemes(RepositoryType repositoryType)
public String toString()
toString in class Enum<RepositoryScheme>Copyright © 2011–2023 aiticon GmbH. All rights reserved.