Enum ApplicationPackageArchiveService.ImportOption
- java.lang.Object
-
- java.lang.Enum<ApplicationPackageArchiveService.ImportOption>
-
- com.avoka.fc.core.service.archive.ApplicationPackageArchiveService.ImportOption
-
- All Implemented Interfaces:
IJMImportOption
,Serializable
,Comparable<ApplicationPackageArchiveService.ImportOption>
- Enclosing class:
- ApplicationPackageArchiveService
public static enum ApplicationPackageArchiveService.ImportOption extends Enum<ApplicationPackageArchiveService.ImportOption> implements IJMImportOption
Various import options controlling which entities will be imported
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELIVERY_CHANNELS
FORM_GROUPS
FORMS
ORGANIZATION_PROPERTIES
PRESERVE_EXISTING_DELIVERY_CHANNELS
PRESERVE_EXISTING_SERVICE_CONNECTIONS
PRESERVE_EXISTING_SERVICES
SERVICE_CONNECTIONS
SERVICE_DEFINITIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ApplicationPackageArchiveService.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 ApplicationPackageArchiveService.ImportOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApplicationPackageArchiveService.ImportOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELIVERY_CHANNELS
public static final ApplicationPackageArchiveService.ImportOption DELIVERY_CHANNELS
-
PRESERVE_EXISTING_DELIVERY_CHANNELS
public static final ApplicationPackageArchiveService.ImportOption PRESERVE_EXISTING_DELIVERY_CHANNELS
-
FORMS
public static final ApplicationPackageArchiveService.ImportOption FORMS
-
FORM_GROUPS
public static final ApplicationPackageArchiveService.ImportOption FORM_GROUPS
-
ORGANIZATION_PROPERTIES
public static final ApplicationPackageArchiveService.ImportOption ORGANIZATION_PROPERTIES
-
SERVICE_CONNECTIONS
public static final ApplicationPackageArchiveService.ImportOption SERVICE_CONNECTIONS
-
PRESERVE_EXISTING_SERVICE_CONNECTIONS
public static final ApplicationPackageArchiveService.ImportOption PRESERVE_EXISTING_SERVICE_CONNECTIONS
-
SERVICE_DEFINITIONS
public static final ApplicationPackageArchiveService.ImportOption SERVICE_DEFINITIONS
-
PRESERVE_EXISTING_SERVICES
public static final ApplicationPackageArchiveService.ImportOption PRESERVE_EXISTING_SERVICES
-
-
Method Detail
-
values
public static ApplicationPackageArchiveService.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 (ApplicationPackageArchiveService.ImportOption c : ApplicationPackageArchiveService.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 ApplicationPackageArchiveService.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<ApplicationPackageArchiveService.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<ApplicationPackageArchiveService.ImportOption>
- Returns:
- a readable string representation of the import option's name
-
-