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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA builder for streamlined creation ofFeatureInstallOptions. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FeatureInstallOptions.BuilderBuilder()Obtain aFeatureInstallOptions.Builderinstance for streamlined creation ofFeatureInstallOptions.@NotNull FeatureFileRetrieve aFeatureFileobject representing a feature that requires installation.@Nullable LayerMapperRetrieve theLayerMapperto be used during feature installation, ornullif not specified.booleanReturnstrueif the GIDs should be imported/updated during the feature installation process.booleanCheck 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.Builderinstance for streamlined creation ofFeatureInstallOptions. This method returns aFeatureInstallOptions.Builderobject, which can be used to constructFeatureInstallOptionsinstances with customizable configuration settings.- Returns:
- a
FeatureInstallOptions.Builderinstance for streamlinedFeatureInstallOptionscreation. - Since:
- 5.2.231104
-
getFeatureFile
Retrieve aFeatureFileobject representing a feature that requires installation. This method returns aFeatureFileinstance 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
FeatureFilerepresenting a feature which needs to be installed. - Since:
- 5.2.231104
-
getLayerMapper
Retrieve theLayerMapperto be used during feature installation, ornullif not specified. This method returns aLayerMapperinstance that should be employed during the feature installation process, but it may returnnullif no specific mapper has been specified.- Returns:
- a
LayerMapperinstance for feature installation, ornullif 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 returnstrueif a feature model needs to be created or updated in the target project as part of the installation process, orfalseif no such action is required.- Returns:
trueif a feature model must be created or updated,falseotherwise.- Since:
- 5.2.231104
-
importIDProviderGIDs
boolean importIDProviderGIDs()Returnstrueif the GIDs should be imported/updated during the feature installation process.- Returns:
trueif the GIDs should be imported/updated,falseotherwise.- Since:
- 5.2.240102
-