public enum AddonRepositoryMode extends Enum<AddonRepositoryMode>
AddonRepository.| Enum Constant and Description |
|---|
IMMUTABLE
A read-only repository.
|
MUTABLE
A read-write repository.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isImmutable()
|
boolean |
isMutable()
|
static AddonRepositoryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddonRepositoryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddonRepositoryMode MUTABLE
public static final AddonRepositoryMode IMMUTABLE
public static AddonRepositoryMode[] values()
for (AddonRepositoryMode c : AddonRepositoryMode.values()) System.out.println(c);
public static AddonRepositoryMode 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 isMutable()
public boolean isImmutable()
Copyright © 2014 JBoss by Red Hat. All rights reserved.