Package com._1c.g5.v8.dt.bsl.extension
Class BslModuleExtensionBuildDispatcherRule
java.lang.Object
com._1c.g5.v8.dt.bsl.extension.BslModuleExtensionBuildDispatcherRule
- All Implemented Interfaces:
IBuildDispatcherRule
Bsl BM integration-specific implementation of the BuildDispatcher rule.
Sets extension state to resource changed modules in case if owner of module is adopted.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(IBuildDispatcher buildDispatcher) Inits rule with startup context during rule loading.void
installAdditionalTriggers
(org.eclipse.core.resources.IProject project) Installs additional triggers for a specified project.void
processResourceChangeEvent
(org.eclipse.core.resources.IResourceChangeEvent event) Processes standard resource change event as the part of the forced build condition detection flow.void
removeAdditionalTriggers
(org.eclipse.core.resources.IProject project) Remove additional triggers being installed onIBuildDispatcherRule.installAdditionalTriggers(IProject)
} This method is being called by owning service during the project shutdown sequence.void
stop()
Stops the rule from functioning.
-
Constructor Details
-
BslModuleExtensionBuildDispatcherRule
public BslModuleExtensionBuildDispatcherRule()
-
-
Method Details
-
init
Description copied from interface:IBuildDispatcherRule
Inits rule with startup context during rule loading.- Specified by:
init
in interfaceIBuildDispatcherRule
- Parameters:
buildDispatcher
- The reference to owningIBuildDispatcher
-
stop
public void stop()Description copied from interface:IBuildDispatcherRule
Stops the rule from functioning. Being called by theIBuildDispatcher
service at the end of the lifecycle.- Specified by:
stop
in interfaceIBuildDispatcherRule
-
installAdditionalTriggers
public void installAdditionalTriggers(org.eclipse.core.resources.IProject project) Description copied from interface:IBuildDispatcherRule
Installs additional triggers for a specified project. The implementation of the rule is responsible for storing all necessary info inside the implementation.- Specified by:
installAdditionalTriggers
in interfaceIBuildDispatcherRule
- Parameters:
project
- The project to install additional triggers for.
-
processResourceChangeEvent
public void processResourceChangeEvent(org.eclipse.core.resources.IResourceChangeEvent event) Description copied from interface:IBuildDispatcherRule
Processes standard resource change event as the part of the forced build condition detection flow.- Specified by:
processResourceChangeEvent
in interfaceIBuildDispatcherRule
- Parameters:
event
- The event to track.
-
removeAdditionalTriggers
public void removeAdditionalTriggers(org.eclipse.core.resources.IProject project) Description copied from interface:IBuildDispatcherRule
Remove additional triggers being installed onIBuildDispatcherRule.installAdditionalTriggers(IProject)
} This method is being called by owning service during the project shutdown sequence.- Specified by:
removeAdditionalTriggers
in interfaceIBuildDispatcherRule
- Parameters:
project
- The project to remove triggers for.
-