Package com._1c.g5.v8.dt.ql.bm.build
Class QlBmBuildDispatcherRule
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.bm.build.QlBmBuildDispatcherRule
-
- All Implemented Interfaces:
IBuildDispatcherRule
public class QlBmBuildDispatcherRule extends Object implements IBuildDispatcherRule
QL BM integration-specific implementation of the BuildDispatcher rule. Clears scope cache when anythingDbViewElement
was changed G5V8DT-6586 - Review this solution after the managed lifycecle of EDT components will be implemented
-
-
Constructor Summary
Constructors Constructor Description QlBmBuildDispatcherRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
init
public void init(IBuildDispatcher buildDispatcher)
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.
-
-