Class ViewBuildRunnerSettingsExtension

    • Constructor Detail

      • ViewBuildRunnerSettingsExtension

        public ViewBuildRunnerSettingsExtension​(@NotNull
                                                ProjectManager projectManager,
                                                @NotNull
                                                PagePlaces pagePlaces,
                                                @NotNull
                                                java.util.Collection<java.lang.String> supportedRunTypes)
        Accepts collection of run types for which this extension should be made available.
        Parameters:
        projectManager - ProjectManager instance, required to locate build configuration by its id
        pagePlaces - PagePlaces instance
        supportedRunTypes - collection of supported run types
    • Method Detail

      • isAvailable

        public boolean isAvailable​(@NotNull
                                   javax.servlet.http.HttpServletRequest request)
        Returns true if currently selected runner is in the collection of specified supported run types.
        Specified by:
        isAvailable in interface PageExtension
        Overrides:
        isAvailable in class SimplePageExtension
        Parameters:
        request - HTTP request
        Returns:
        see above