Class ViewBuildRunnerSettingsExtension
- java.lang.Object
-
- jetbrains.buildServer.web.openapi.SimplePageExtension
-
- jetbrains.buildServer.web.openapi.buildType.ViewBuildRunnerSettingsExtension
-
- All Implemented Interfaces:
PageExtension
public class ViewBuildRunnerSettingsExtension extends SimplePageExtension
Base class for extensions registered forPlaceId.VIEW_BUILD_RUNNER_SETTINGS_FRAGMENT
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.web.openapi.SimplePageExtension
myCssPaths, myJsPaths, myPagePlaces
-
-
Constructor Summary
Constructors Constructor Description ViewBuildRunnerSettingsExtension(ProjectManager projectManager, PagePlaces pagePlaces, java.util.Collection<java.lang.String> supportedRunTypes)
Accepts collection of run types for which this extension should be made available.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAvailable(javax.servlet.http.HttpServletRequest request)
Returns true if currently selected runner is in the collection of specified supported run types.-
Methods inherited from class jetbrains.buildServer.web.openapi.SimplePageExtension
addCssFile, addJsFile, fillModel, getCssPaths, getIncludeUrl, getJsPaths, getPlaceId, getPluginName, isGet, isPost, register, setIncludeUrl, setPlaceId, setPluginName, setPosition, toString, unregister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.web.openapi.PageExtension
getDisplayName
-
-
-
-
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 idpagePlaces
- PagePlaces instancesupportedRunTypes
- 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 interfacePageExtension
- Overrides:
isAvailable
in classSimplePageExtension
- Parameters:
request
- HTTP request- Returns:
- see above
-
-