public interface FeatureAnalyseResult extends Serializable
analyze process
.installation
of a feature.
First of all the error count
indicates whether the related feature transport file is installable or not.FeatureInstallAgent
Modifier and Type | Method and Description |
---|---|
Map<String,Integer> |
getDatarecordsCount()
|
int |
getElementCount()
Returns the count of elements (non data records) contained in this feature.
|
Map<Long,List<de.espirit.firstspirit.store.access.feature.FeatureError>> |
getEntryErrors()
Returns the feature errors of this analyze result.
|
int |
getErrorsCount()
Returns the error count of this feature analyze result.
|
List<de.espirit.firstspirit.store.access.feature.FeatureError> |
getGlobalErrors()
Returns the list of global errors.
|
Map<String,String> |
getMappedLayers()
Mapping of
layer names (key = layer name in source project; value = layer name in
target project). |
String |
getProjectName()
The name of the source project the feature transport file was created in.
|
Date |
getRevisionTime()
The time of the revision the feature transport file belongs to.
|
String |
getServerName()
The name of the source FirstSpirit server the feature transport file was created on.
|
ServerInformationAgent.VersionInfo |
getServerVersion()
The version of the FirstSpirit server the feature transport file was created on.
|
List<String> |
getUnmappedLayers()
List of
layer names of the source project which exists in the feature because of
schema nodes or datarecords which couldn't be mapped to existing layers in target project. |
int |
getWarningCount()
Returns the warning count of this analyze result.
|
int getElementCount()
getDatarecordsCount()
Map<String,Integer> getDatarecordsCount()
getElementCount()
int getErrorsCount()
count > 0
the belonging feature transport file is not installable.
Therefore calling FeatureInstallAgent.installFeature(FeatureFile, Map)
will throw an exception.getGlobalErrors()
,
getEntryErrors()
int getWarningCount()
count > 0
the belonging feature transport
file will cause some problems during the installation.
Possible problems causing warnings:
languages
,
resolutions
or templatesets
)getGlobalErrors()
,
getEntryErrors()
@NotNull List<de.espirit.firstspirit.store.access.feature.FeatureError> getGlobalErrors()
languages
,
resolutions
or templatesets
which exists in
the source project but not in the target project.@NotNull Map<Long,List<de.espirit.firstspirit.store.access.feature.FeatureError>> getEntryErrors()
String getServerName()
ServerInformationAgent.VersionInfo getServerVersion()
String getProjectName()
Date getRevisionTime()
FeatureDescriptor.getRevision()
@NotNull Map<String,String> getMappedLayers()
layer names
(key = layer name in source project; value = layer name in
target project). This map will be filled in case updates to schema nodes
.getUnmappedLayers()
@NotNull List<String> getUnmappedLayers()
layer names
of the source project which exists in the feature because of
schema nodes
or datarecords which couldn't be mapped to existing layers in target project.
Normally this will happen, when the schema transported via the feature transport file doesn't exist in the
target project and will be created during the installation.install call
.FeatureInstallAgent.installFeature(FeatureFile, Map)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500