Interface IBuildDispatcherRule

    • Method Detail

      • init

        void init​(IBuildDispatcher buildDispatcher)
        Inits rule with startup context during rule loading.
        Parameters:
        buildDispatcher - The reference to owning IBuildDispatcher
      • stop

        void stop()
        Stops the rule from functioning. Being called by the IBuildDispatcher 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 on installAdditionalTriggers(IProject)} This method is being called by owning service during the project shutdown sequence.
        Parameters:
        project - The project to remove triggers for.