public enum RepositoryMode extends Enum<RepositoryMode>
Repository
, meaning which kinds of PackageArchive
are being served.Enum Constant and Description |
---|
ALL
all versions, stable and snapshot
|
SNAPSHOT
only snapshot versions
|
STABLE
only stable versions
|
Modifier and Type | Method and Description |
---|---|
static RepositoryMode |
getDefault() |
static RepositoryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryMode ALL
public static final RepositoryMode STABLE
public static final RepositoryMode SNAPSHOT
public static RepositoryMode[] values()
for (RepositoryMode c : RepositoryMode.values()) System.out.println(c);
public static RepositoryMode 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 RepositoryMode getDefault()
Copyright © 2011–2019 aiticon GmbH. All rights reserved.