Class KeepRuleBuildFeature
- java.lang.Object
-
- jetbrains.buildServer.serverSide.BuildFeature
-
- jetbrains.buildServer.serverSide.impl.cleanup.v2019.settings.KeepRuleBuildFeature
-
- All Implemented Interfaces:
ExecutorModeSupport
,Describable
,ServerExtension
,TeamCityExtension
public class KeepRuleBuildFeature extends BuildFeature
- Since:
- 2019.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jetbrains.buildServer.serverSide.BuildFeature
BuildFeature.PlaceToShow
-
-
Constructor Summary
Constructors Constructor Description KeepRuleBuildFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
User presentable name of the feature.String
getEditParametersUrl()
BuildFeature.PlaceToShow
getPlaceToShow()
Return the UI location for build feature settingsString
getType()
Type of the feature, must be unique among all of the features.boolean
isRequiresAgent()
-
Methods inherited from class jetbrains.buildServer.serverSide.BuildFeature
describeParameters, getDefaultParameters, getParametersProcessor, getParametersProcessor, getRequirements, getSupportType, isAvailable, isMultipleFeaturesPerBuildTypeAllowed, isUnchangedBySettingsFreeze
-
-
-
-
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.
-
getPlaceToShow
public BuildFeature.PlaceToShow getPlaceToShow()
Description copied from class:BuildFeature
Return the UI location for build feature settings- Overrides:
getPlaceToShow
in classBuildFeature
- Returns:
- see above
- See Also:
BuildFeature.PlaceToShow
-
isRequiresAgent
public boolean isRequiresAgent()
- Overrides:
isRequiresAgent
in classBuildFeature
- Returns:
- true if this build feature has some code which should be executed on the agent during the build. If false is returned then parameters of this feature will not be passed to an agent.
-
-