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
public class BslModuleExtensionBuildDispatcherRule extends Object implements 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 Constructor Description BslModuleExtensionBuildDispatcherRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(IBuildDispatcher buildDispatcher)Inits rule with startup context during rule loading.voidinstallAdditionalTriggers(org.eclipse.core.resources.IProject project)Installs additional triggers for a specified project.voidprocessResourceChangeEvent(org.eclipse.core.resources.IResourceChangeEvent event)Processes standard resource change event as the part of the forced build condition detection flow.voidremoveAdditionalTriggers(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.voidstop()Stops the rule from functioning.
-
-
-
Method Detail
-
init
public void init(IBuildDispatcher buildDispatcher)
Description copied from interface:IBuildDispatcherRuleInits rule with startup context during rule loading.- Specified by:
initin interfaceIBuildDispatcherRule- Parameters:
buildDispatcher- The reference to owningIBuildDispatcher
-
stop
public void stop()
Description copied from interface:IBuildDispatcherRuleStops the rule from functioning. Being called by theIBuildDispatcherservice at the end of the lifecycle.- Specified by:
stopin interfaceIBuildDispatcherRule
-
installAdditionalTriggers
public void installAdditionalTriggers(org.eclipse.core.resources.IProject project)
Description copied from interface:IBuildDispatcherRuleInstalls additional triggers for a specified project. The implementation of the rule is responsible for storing all necessary info inside the implementation.- Specified by:
installAdditionalTriggersin interfaceIBuildDispatcherRule- Parameters:
project- The project to install additional triggers for.
-
processResourceChangeEvent
public void processResourceChangeEvent(org.eclipse.core.resources.IResourceChangeEvent event)
Description copied from interface:IBuildDispatcherRuleProcesses standard resource change event as the part of the forced build condition detection flow.- Specified by:
processResourceChangeEventin interfaceIBuildDispatcherRule- Parameters:
event- The event to track.
-
removeAdditionalTriggers
public void removeAdditionalTriggers(org.eclipse.core.resources.IProject project)
Description copied from interface:IBuildDispatcherRuleRemove additional triggers being installed onIBuildDispatcherRule.installAdditionalTriggers(IProject)} This method is being called by owning service during the project shutdown sequence.- Specified by:
removeAdditionalTriggersin interfaceIBuildDispatcherRule- Parameters:
project- The project to remove triggers for.
-
-