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()
String
getEditRunnerParamsJspFilePath()
PropertiesProcessor
getRunnerPropertiesProcessor()
Returns properties processor which will be used to validate parameters specified by user.Collection<String>
getRunTypes()
String
getViewRunnerParamsJspFilePath()
-
Methods inherited from class jetbrains.buildServer.serverSide.RunTypeBase
describeParameters, getIconUrl, getRunnerSpecificRequirements, getTags, isSecureParameter, processRunnerRequirements
-
-
-
-
Method Detail
-
getRunTypes
public Collection<String> getRunTypes()
- Specified by:
getRunTypes
in classRunTypeExtension
- Returns:
- names of run types to plug extension in
- See Also:
RunType.supports(RunTypeExtension)
-
getRunnerPropertiesProcessor
@Nullable public PropertiesProcessor getRunnerPropertiesProcessor()
Description copied from class:RunTypeBase
Returns properties processor which will be used to validate parameters specified by user.- Specified by:
getRunnerPropertiesProcessor
in classRunTypeBase
- Returns:
- properties processor which operates with parameters specified for the runner.
-
getEditRunnerParamsJspFilePath
@Nullable public String getEditRunnerParamsJspFilePath()
- Specified by:
getEditRunnerParamsJspFilePath
in 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:
getViewRunnerParamsJspFilePath
in 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:
getDefaultRunnerProperties
in classRunTypeBase
- Returns:
- default properties for this runner type
-
-