Package com._1c.g5.v8.dt.core.platform
Interface IBuildDispatcherRule
-
- All Known Implementing Classes:
BslBmBuildDispatcherRule
,BslModuleExtensionBuildDispatcherRule
,GraphicalSchemeBmBuildDispatcherRule
,QlBmBuildDispatcherRule
,XdtoBmBuildDispatcherRule
public interface IBuildDispatcherRule
Single rule which defines a set of build triggers. Each rule has its own workflow of force build condition detection. Implementation should track state (if necessary) on per-project basis.
-
-
Method Summary
All Methods Instance Methods Abstract 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 oninstallAdditionalTriggers(IProject)
} This method is being called by owning service during the project shutdown sequence.void
stop()
Stops the rule from functioning.
-
-
-
Method Detail
-
init
void init(IBuildDispatcher buildDispatcher)
Inits rule with startup context during rule loading.- Parameters:
buildDispatcher
- The reference to owningIBuildDispatcher
-
stop
void stop()
Stops the rule from functioning. Being called by theIBuildDispatcher
service at the end of the lifecycle.
-
installAdditionalTriggers
void installAdditionalTriggers(org.eclipse.core.resources.IProject project)
Installs additional triggers for a specified project. The implementation of the rule is responsible for storing all necessary info inside the implementation.- Parameters:
project
- The project to install additional triggers for.
-
processResourceChangeEvent
void processResourceChangeEvent(org.eclipse.core.resources.IResourceChangeEvent event)
Processes standard resource change event as the part of the forced build condition detection flow.- Parameters:
event
- The event to track.
-
removeAdditionalTriggers
void removeAdditionalTriggers(org.eclipse.core.resources.IProject project)
Remove additional triggers being installed oninstallAdditionalTriggers(IProject)
} This method is being called by owning service during the project shutdown sequence.- Parameters:
project
- The project to remove triggers for.
-
-