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,
Map<String,String> layerMapping)
Starts a server side feature installation process for the given feature file.
|
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
#startFeatureAnalyse(FeatureFile)
,
#startFeatureInstall(FeatureFile, Map)
ServerActionHandle<? extends FeatureProgress,FeatureAnalyseResult> analyzeFeature(@NotNull FeatureFile featureFile) throws IOException
server action handle
providing means to progress and state of the server side processIOException
ServerActionHandle<? extends FeatureProgress,FeatureInstallResult> installFeature(@NotNull FeatureFile featureFile, @NotNull Map<String,String> layerMapping) throws IOException
layerMapping
- the database layer
mapping for the installation process.
(key = layer name of source project; key = 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
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500