public interface FeatureInstallAgent
Example:
SpecialistsBroker.requireSpecialist(FeatureInstallAgent.TYPE)
SpecialistsBroker.requireSpecialist(SpecialistType)
Modifier and Type | Field and Description |
---|---|
static SpecialistType<FeatureInstallAgent> |
TYPE
The agent's technical type to be used to request the agent from a
SpecialistsBroker . |
Modifier and Type | Method and Description |
---|---|
ServerActionHandle<? extends FeatureProgress,FeatureAnalyseResult> |
analyzeFeature(FeatureFile featureFile)
Starts a server side feature analyze process for the given feature file.
|
ServerActionHandle<? extends FeatureProgress,FeatureInstallResult> |
installFeature(FeatureFile featureFile,
LayerMapper layerMapper)
Starts a server side feature installation process for the given feature file.
|
ServerActionHandle<? extends FeatureProgress,FeatureInstallResult> |
installFeature(FeatureFile featureFile,
Map<String,String> layerMapping)
Deprecated.
since 5.2.513 - use
installFeature(FeatureFile, LayerMapper) instead |
FeatureFile |
uploadFeatureFile(InputStream stream)
Uploads the given stream (originated from a feature transport zip file) to the server and returns the related
feature file |
static final SpecialistType<FeatureInstallAgent> TYPE
SpecialistsBroker
.FeatureFile uploadFeatureFile(@NotNull InputStream stream) throws IOException
feature file
IOException
installFeature(FeatureFile, LayerMapper)
ServerActionHandle<? extends FeatureProgress,FeatureAnalyseResult> analyzeFeature(@NotNull FeatureFile featureFile) throws IOException
server action handle
providing means to progress and state of the server side processIOException
@Deprecated ServerActionHandle<? extends FeatureProgress,FeatureInstallResult> installFeature(@NotNull FeatureFile featureFile, @NotNull Map<String,String> layerMapping) throws IOException
installFeature(FeatureFile, LayerMapper)
insteadlayerMapping
- the database layer
mapping for the installation process.
(key = layer name of source project; value = layer name of target project). Given mapping
must contain mappings for updates
and
new created
schemesserver action handle
providing means to progress and state of the server side processIOException
ServerActionHandle<? extends FeatureProgress,FeatureInstallResult> installFeature(@NotNull FeatureFile featureFile, @Nullable LayerMapper layerMapper) throws IOException
schema
which doesn't exists in the target project will be installed during the process.layerMapper
- the database layer
mapping for the installation process.
Given layerMapper must provide mappings for updates
and
new created
schemes - it isn't necessary (nullable) to pass a layerMapper if no new schema will be installedserver action handle
providing means to progress and state of the server side processIOException
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210