Package com._1c.g5.v8.derived
Interface IDerivedDataConfigurationContributor
-
- All Known Implementing Classes:
GraphicalSchemeDerivedDataContributor
public interface IDerivedDataConfigurationContributor
A component that contributes configuration elements for the derived data computation mechanism.- See Also:
DerivedDataBmProvider
,IContextCollector
,IPreconditionsChecker
,IDerivedDataComputer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<IDerivedDataComputer>
getComputers()
Collection<IContextCollector>
getContextCollectors()
Collection<ITypeSpecificObjectContextFactory>
getContextFactories()
Gets the set of factories producing DD contexts specific for given segments and object types.default Collection<IDerivedDataUpdate>
getForcedDataUpdates()
Gets the collection of derived data updates that must be called in case of library/base configuration is being attached/updated They could be used to restore data that can't be updated using normal async data computation facility tools (reactive context collectors, etc)Collection<IRemovalContextCollector>
getRemovalContextCollectors()
Collection<IDerivedDataRemover>
getRemovers()
Gets the collection of contributed removers.default Collection<IDerivedDataUpdate>
getRestorationUpdates()
Gets the collection of derived data updates that must be called in case of the system restoration.Collection<DerivedDataSegmentDefinition>
getSegmentDefinitions()
Gets definitions of the DD pipeline segments.default void
init()
Performs initial data settings for contributors (usually extensible ones).
-
-
-
Method Detail
-
init
default void init()
Performs initial data settings for contributors (usually extensible ones). This method called only once per contributor per EDT session
-
getComputers
Collection<IDerivedDataComputer> getComputers()
- Returns:
- the contributed computers. Implementation should return empty collection in case if no computers are provided.
-
getContextCollectors
Collection<IContextCollector> getContextCollectors()
- Returns:
- the contributed context collectors. Implementation should return empty collection in case if no descriptors are provided.
-
getContextFactories
Collection<ITypeSpecificObjectContextFactory> getContextFactories()
Gets the set of factories producing DD contexts specific for given segments and object types.- Returns:
- The set of supported DD context factories. Null safe (implementations could return null collections).
-
getRemovalContextCollectors
Collection<IRemovalContextCollector> getRemovalContextCollectors()
- Returns:
- the contributed removal context collectors. Implementation should return empty collection in case if no descriptors are provided.
-
getRemovers
Collection<IDerivedDataRemover> getRemovers()
Gets the collection of contributed removers.- Returns:
- Contributed removers. Never
null
, could be empty.
-
getSegmentDefinitions
Collection<DerivedDataSegmentDefinition> getSegmentDefinitions()
Gets definitions of the DD pipeline segments.- Returns:
- Collection of separate segment definitions.
-
getRestorationUpdates
default Collection<IDerivedDataUpdate> getRestorationUpdates()
Gets the collection of derived data updates that must be called in case of the system restoration. They could be used to restore non-reliable indexes, etc- Returns:
- Contributed updates. Never
null
, could be empty.
-
getForcedDataUpdates
default Collection<IDerivedDataUpdate> getForcedDataUpdates()
Gets the collection of derived data updates that must be called in case of library/base configuration is being attached/updated They could be used to restore data that can't be updated using normal async data computation facility tools (reactive context collectors, etc)- Returns:
- Contributed updates. Never
null
, could be empty.
-
-