public static enum BagProfile.BuiltIn extends Enum<BagProfile.BuiltIn>
| Enum Constant and Description |
|---|
APTRUST |
BEYOND_THE_REPOSITORY |
DEFAULT |
METAARCHIVE |
PERSEIDS |
| Modifier and Type | Method and Description |
|---|---|
static BagProfile.BuiltIn |
from(String identifier)
Retrieve a built in profile from an identifier
|
String |
getIdentifier()
Get the identifier associated with the profile
|
static BagProfile.BuiltIn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BagProfile.BuiltIn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BagProfile.BuiltIn APTRUST
public static final BagProfile.BuiltIn BEYOND_THE_REPOSITORY
public static final BagProfile.BuiltIn DEFAULT
public static final BagProfile.BuiltIn METAARCHIVE
public static final BagProfile.BuiltIn PERSEIDS
public static BagProfile.BuiltIn[] values()
for (BagProfile.BuiltIn c : BagProfile.BuiltIn.values()) System.out.println(c);
public static BagProfile.BuiltIn 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 BagProfile.BuiltIn from(String identifier)
identifier - the identifier to retrieve a profile forBagProfile.BuiltIn profileIllegalArgumentException - if the identifier is not supportedpublic String getIdentifier()
Copyright © 2020. All rights reserved.