public enum RepositoryType extends Enum<RepositoryType>
Enum Constant and Description |
---|
HTTP |
LOCAL_FILE_SYSTEM |
Modifier and Type | Method and Description |
---|---|
boolean |
isRepositoryFor(Configuration configuration) |
boolean |
isTypeOf(URI uri) |
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 HTTP
public static final RepositoryType LOCAL_FILE_SYSTEM
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 boolean isRepositoryFor(Configuration configuration)
public boolean isTypeOf(URI uri)
Copyright © 2022 Apache Software Foundation. All rights reserved.