Package com._1c.g5.v8.dt.supply
Class SupplySettingsContext
java.lang.Object
com._1c.g5.v8.dt.supply.SupplySettingsContext
- All Implemented Interfaces:
ILifecycleContext
Context of the supply settings model. The context is associated with the supply (supply + integration) setting models
and used to control the loading/unloading of this model during DT operations.
During the start of the context, the
ISupplySettingsManager
prepares
the supply (or supply + integration) data model(s) and holds references to them.
During the stop of the context, the ISupplySettingsManager
ensures that all data associated with the
supply settings model are unloaded properly.-
Constructor Summary
ConstructorsConstructorDescriptionSupplySettingsContext
(IDtProject project) Creates the supply settings context using provided project.SupplySettingsContext
(Path sourcePath) Creates the supply settings context using provided source path. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the project being associated with the contextGets the source path being associated with the contextint
hashCode()
-
Constructor Details
-
SupplySettingsContext
Creates the supply settings context using provided project. This constructor could be used only for live EDT project.- Parameters:
project
- The project to create supply settings for. Cannot benull
-
SupplySettingsContext
Creates the supply settings context using provided source path. This constructor could be used only for file sources.- Parameters:
sourcePath
- The source path to create supply settings for. Cannot benull
-
-
Method Details
-
equals
-
getProject
Gets the project being associated with the context- Returns:
- Project being associated with the conext. Could be
null
for non-project type of supply context
-
getSourcePath
Gets the source path being associated with the context- Returns:
- Source path being associated with the conext. Could be
null
for non-source type of supply context
-
hashCode
public int hashCode()
-