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.LOCAL
public static final RepositoryScheme HTTP
RepositoryType.REMOTE
public static final RepositoryScheme HTTPS
RepositoryType.REMOTE
public 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.RepositoryType
public static Set<RepositoryScheme> getSchemes(RepositoryType repositoryType)
public String toString()
toString
in class Enum<RepositoryScheme>
Copyright © 2011–2023 aiticon GmbH. All rights reserved.