Class MockBuildFeature
- java.lang.Object
-
- jetbrains.buildServer.serverSide.BuildFeature
-
- jetbrains.buildServer.serverSide.impl.MockBuildFeature
-
- All Implemented Interfaces:
ExecutorModeSupport
,Describable
,ServerExtension
,TeamCityExtension
public class MockBuildFeature extends BuildFeature
- Since:
- 2019.1
- Author:
- kir
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jetbrains.buildServer.serverSide.BuildFeature
BuildFeature.PlaceToShow
-
-
Constructor Summary
Constructors Constructor Description MockBuildFeature(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
User presentable name of the feature.String
getEditParametersUrl()
String
getType()
Type of the feature, must be unique among all of the features.-
Methods inherited from class jetbrains.buildServer.serverSide.BuildFeature
describeParameters, getDefaultParameters, getParametersProcessor, getParametersProcessor, getPlaceToShow, getRequirements, getSupportType, isAvailable, isMultipleFeaturesPerBuildTypeAllowed, isRequiresAgent, isUnchangedBySettingsFreeze
-
-
-
-
Constructor Detail
-
MockBuildFeature
public MockBuildFeature(String type)
-
-
Method Detail
-
getType
@NotNull public String getType()
Description copied from class:BuildFeature
Type of the feature, must be unique among all of the features.- Specified by:
getType
in classBuildFeature
- Returns:
- type of the feature
-
getDisplayName
@NotNull public String getDisplayName()
Description copied from class:BuildFeature
User presentable name of the feature.- Specified by:
getDisplayName
in interfaceDescribable
- Specified by:
getDisplayName
in classBuildFeature
- Returns:
- name of the feature to show in the user interface.
-
getEditParametersUrl
@Nullable public String getEditParametersUrl()
- Specified by:
getEditParametersUrl
in classBuildFeature
- Returns:
- absolute path to a JSP file or controller for editing parameters, should not include context path.
-
-