Package de.espirit.firstspirit.feature
Interface FeatureInstallOptions
public interface FeatureInstallOptions
Configuration options for initiating the feature installation process via
FeatureInstallAgent.installFeature(FeatureInstallOptions)
.
This class provides a set of customizable options to control the behavior of the feature installation process.- Since:
- 5.2.231104
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A builder for streamlined creation ofFeatureInstallOptions
. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FeatureInstallOptions.Builder
Builder()
Obtain aFeatureInstallOptions.Builder
instance for streamlined creation ofFeatureInstallOptions
.@NotNull FeatureFile
Retrieve aFeatureFile
object representing a feature that requires installation.@Nullable LayerMapper
Retrieve theLayerMapper
to be used during feature installation, ornull
if not specified.boolean
Returnstrue
if the GIDs should be imported/updated during the feature installation process.boolean
Check if a feature model, containing metadata about content transported by the feature, must be created or updated in the target project immediately after the feature installation process.
-
Method Details
-
Builder
Obtain aFeatureInstallOptions.Builder
instance for streamlined creation ofFeatureInstallOptions
. This method returns aFeatureInstallOptions.Builder
object, which can be used to constructFeatureInstallOptions
instances with customizable configuration settings.- Returns:
- a
FeatureInstallOptions.Builder
instance for streamlinedFeatureInstallOptions
creation. - Since:
- 5.2.231104
-
getFeatureFile
Retrieve aFeatureFile
object representing a feature that requires installation. This method returns aFeatureFile
instance that represents a feature requiring installation. You can use this object to gather information or trigger the installation process for the specified feature.- Returns:
- a
FeatureFile
representing a feature which needs to be installed. - Since:
- 5.2.231104
-
getLayerMapper
Retrieve theLayerMapper
to be used during feature installation, ornull
if not specified. This method returns aLayerMapper
instance that should be employed during the feature installation process, but it may returnnull
if no specific mapper has been specified.- Returns:
- a
LayerMapper
instance for feature installation, ornull
if not specified. - Since:
- 5.2.231104
-
installFeatureModel
boolean installFeatureModel()Check if a feature model, containing metadata about content transported by the feature, must be created or updated in the target project immediately after the feature installation process. This method returnstrue
if a feature model needs to be created or updated in the target project as part of the installation process, orfalse
if no such action is required.- Returns:
true
if a feature model must be created or updated,false
otherwise.- Since:
- 5.2.231104
-
importIDProviderGIDs
boolean importIDProviderGIDs()Returnstrue
if the GIDs should be imported/updated during the feature installation process.- Returns:
true
if the GIDs should be imported/updated,false
otherwise.- Since:
- 5.2.240102
-