Enum ClientArchiveService.ImportOption
- java.lang.Object
-
- java.lang.Enum<ClientArchiveService.ImportOption>
-
- com.avoka.fc.core.service.archive.ClientArchiveService.ImportOption
-
- All Implemented Interfaces:
IJMImportOption
,Serializable
,Comparable<ClientArchiveService.ImportOption>
- Enclosing class:
- ClientArchiveService
public static enum ClientArchiveService.ImportOption extends Enum<ClientArchiveService.ImportOption> implements IJMImportOption
Various import options controlling which entities will be imported
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ClientArchiveService.ImportOption>
defaultForImportAction(String metadataImportAction)
Returns the set of import actions that constitute a sensible default for the given metadata import actionString
toString()
Returns a string representation of the import optionstatic ClientArchiveService.ImportOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClientArchiveService.ImportOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORGANISATION_DEFINITION
public static final ClientArchiveService.ImportOption ORGANISATION_DEFINITION
-
CLIENT_KEY
public static final ClientArchiveService.ImportOption CLIENT_KEY
-
SERVICE_DEFINITIONS
public static final ClientArchiveService.ImportOption SERVICE_DEFINITIONS
-
PRESERVE_EXISTING_SERVICES
public static final ClientArchiveService.ImportOption PRESERVE_EXISTING_SERVICES
-
APPLICATION_PACKAGES
public static final ClientArchiveService.ImportOption APPLICATION_PACKAGES
-
PAYMENT_CONFIGURATION
public static final ClientArchiveService.ImportOption PAYMENT_CONFIGURATION
-
PORTALS
public static final ClientArchiveService.ImportOption PORTALS
-
KEEP_EXISTING_PORTALS
public static final ClientArchiveService.ImportOption KEEP_EXISTING_PORTALS
-
DELIVERY_DETAILS
public static final ClientArchiveService.ImportOption DELIVERY_DETAILS
-
DOCUMENT_TYPES
public static final ClientArchiveService.ImportOption DOCUMENT_TYPES
-
PROPERTY_TYPES
public static final ClientArchiveService.ImportOption PROPERTY_TYPES
-
PROPERTIES
public static final ClientArchiveService.ImportOption PROPERTIES
-
METADATA_TAGS
public static final ClientArchiveService.ImportOption METADATA_TAGS
-
METADATA
public static final ClientArchiveService.ImportOption METADATA
-
CATEGORIES
public static final ClientArchiveService.ImportOption CATEGORIES
-
-
Method Detail
-
values
public static ClientArchiveService.ImportOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientArchiveService.ImportOption c : ClientArchiveService.ImportOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientArchiveService.ImportOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
defaultForImportAction
public Set<ClientArchiveService.ImportOption> defaultForImportAction(String metadataImportAction)
Returns the set of import actions that constitute a sensible default for the given metadata import action- Specified by:
defaultForImportAction
in interfaceIJMImportOption
- Parameters:
metadataImportAction
- the import action that will be performed (one ofBaseArchiveService.METADATA_IMPORT_ACTION_CREATE
,BaseArchiveService.METADATA_IMPORT_ACTION_UPDATE
)- Returns:
- the default set of import options for the given metadata import action (immutable)
- Since:
- 20.05.0
-
toString
public String toString()
Returns a string representation of the import option- Overrides:
toString
in classEnum<ClientArchiveService.ImportOption>
- Returns:
- a readable string representation of the import option's name
-
-