public enum RepositoryType extends Enum<RepositoryType>
Repository
.RepositoryScheme
Enum Constant and Description |
---|
LOCAL
local, meaning
PackageArchive s are retrieved from the local filesystem |
REMOTE
remote, meaning
PackageArchive s are retrieved from a remote machine |
Modifier and Type | Method and Description |
---|---|
static RepositoryType |
getDefault() |
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 LOCAL
PackageArchive
s are retrieved from the local filesystempublic static final RepositoryType REMOTE
PackageArchive
s are retrieved from a remote machinepublic 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 getDefault()
Copyright © 2011–2017 aiticon GmbH. All rights reserved.