Package de.espirit.firstspirit.feature
Interface FeatureAnalyseResult
- All Superinterfaces:
Serializable
Definition representing the result of a feature
The analyze result provides information about problems which could appear during the
analyze process
.The analyze result provides information about problems which could appear during the
installation
of a feature.
First of all the error count
indicates whether the related feature transport file is installable or not.- Since:
- 5.0.111
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the count of elements (non data records) contained in this feature.@NotNull Map<Long,
List<FeatureError>> Returns the feature errors of this analyze result.int
Returns the error count of this feature analyze result.@NotNull List<FeatureError>
Returns the list of global errors.Mapping oflayer names
(key = layer name in source project; value = layer name in target project).The name of the source project the feature transport file was created in.The time of the revision the feature transport file belongs to.The name of the source FirstSpirit server the feature transport file was created on.The version of the FirstSpirit server the feature transport file was created on.List oflayer names
of the source project which exists in the feature because ofschema nodes
or datarecords which couldn't be mapped to existing layers in target project.int
Returns the warning count of this analyze result.
-
Method Details
-
getElementCount
int getElementCount()Returns the count of elements (non data records) contained in this feature.- Since:
- 5.0.111
- See Also:
-
getDatarecordsCount
- Since:
- 5.0.111
- See Also:
-
getErrorsCount
int getErrorsCount()Returns the error count of this feature analyze result. Ifcount > 0
the belonging feature transport file is not installable. Therefore callingFeatureInstallAgent.installFeature(FeatureFile, Map)
will throw an exception.- Since:
- 5.0.111
- See Also:
-
getWarningCount
int getWarningCount()Returns the warning count of this analyze result. Ifcount > 0
the belonging feature transport file will cause some problems during the installation. Possible problems causing warnings:- missing optional references which couldn't be mapped to target nodes
- differences between source and target project (e.g.
languages
,resolutions
ortemplatesets
)
- Since:
- 5.0.111
- See Also:
-
getGlobalErrors
Returns the list of global errors. Global errors could be for examplelanguages
,resolutions
ortemplatesets
which exists in the source project but not in the target project.- Since:
- 5.0.111
-
getEntryErrors
Returns the feature errors of this analyze result.- Since:
- 5.0.111
-
getServerName
String getServerName()The name of the source FirstSpirit server the feature transport file was created on.- Since:
- 5.0.111
-
getServerVersion
ServerInformationAgent.VersionInfo getServerVersion()The version of the FirstSpirit server the feature transport file was created on.- Since:
- 5.0.111
-
getProjectName
String getProjectName()The name of the source project the feature transport file was created in.- Since:
- 5.0.111
-
getRevisionTime
Date getRevisionTime()The time of the revision the feature transport file belongs to.- Since:
- 5.0.111
- See Also:
-
getMappedLayers
Mapping oflayer names
(key = layer name in source project; value = layer name in target project). This map will be filled in case updates toschema nodes
.- Since:
- 5.0.111
- See Also:
-
getUnmappedLayers
List oflayer names
of the source project which exists in the feature because ofschema 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.
The mapping for these layers must be passed as parameter to theinstall call
.- Since:
- 5.0.111
- See Also:
-