Class MockRunTypeExtension
- java.lang.Object
-
- jetbrains.buildServer.serverSide.RunTypeBase
-
- jetbrains.buildServer.serverSide.RunTypeExtension
-
- jetbrains.buildServer.serverSide.impl.MockRunTypeExtension
-
- All Implemented Interfaces:
ServerExtension,TeamCityExtension
public class MockRunTypeExtension extends RunTypeExtension
- Since:
- 2023.09
-
-
Constructor Summary
Constructors Constructor Description MockRunTypeExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getDefaultRunnerProperties()StringgetEditRunnerParamsJspFilePath()PropertiesProcessorgetRunnerPropertiesProcessor()Returns properties processor which will be used to validate parameters specified by user.Collection<String>getRunTypes()StringgetViewRunnerParamsJspFilePath()-
Methods inherited from class jetbrains.buildServer.serverSide.RunTypeBase
describeParameters, getIconUrl, getRunnerSpecificRequirements, getTags, isSecureParameter, processRunnerRequirements
-
-
-
-
Method Detail
-
getRunTypes
public Collection<String> getRunTypes()
- Specified by:
getRunTypesin classRunTypeExtension- Returns:
- names of run types to plug extension in
- See Also:
RunType.supports(RunTypeExtension)
-
getRunnerPropertiesProcessor
@Nullable public PropertiesProcessor getRunnerPropertiesProcessor()
Description copied from class:RunTypeBaseReturns properties processor which will be used to validate parameters specified by user.- Specified by:
getRunnerPropertiesProcessorin classRunTypeBase- Returns:
- properties processor which operates with parameters specified for the runner.
-
getEditRunnerParamsJspFilePath
@Nullable public String getEditRunnerParamsJspFilePath()
- Specified by:
getEditRunnerParamsJspFilePathin classRunTypeBase- Returns:
- absolute path to a JSP file or controller for editing runner parameters, should not include context path.
- See Also:
PluginDescriptor.getPluginResourcesPath(String)
-
getViewRunnerParamsJspFilePath
@Nullable public String getViewRunnerParamsJspFilePath()
- Specified by:
getViewRunnerParamsJspFilePathin classRunTypeBase- Returns:
- absolute path to a JSP file or controller for displaying runner parameters, should not include context path.
- See Also:
PluginDescriptor.getPluginResourcesPath(String)
-
getDefaultRunnerProperties
@Nullable public Map<String,String> getDefaultRunnerProperties()
- Specified by:
getDefaultRunnerPropertiesin classRunTypeBase- Returns:
- default properties for this runner type
-
-