public abstract class BuildFeature extends java.lang.Object implements ServerExtension
Modifier and Type | Class and Description |
---|---|
static class |
BuildFeature.PlaceToShow
Location of build feature settings in UI
|
Constructor and Description |
---|
BuildFeature() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
describeParameters(java.util.Map<java.lang.String,java.lang.String> params)
Returns parameters description of the build feature, will be used in the TeamCity UI to
describe this feature settings.
|
java.util.Map<java.lang.String,java.lang.String> |
getDefaultParameters() |
abstract java.lang.String |
getDisplayName()
User presentable name of the feature.
|
abstract java.lang.String |
getEditParametersUrl() |
PropertiesProcessor |
getParametersProcessor()
Returns parameters processor which will be used to validate and alter parameters specified by user.
|
BuildFeature.PlaceToShow |
getPlaceToShow()
Return the UI location for build feature settings
|
java.util.Collection<Requirement> |
getRequirements(java.util.Map<java.lang.String,java.lang.String> params)
Returns agent requirements imposed by this build feature on build agents which can run builds when this feature is enabled
|
abstract java.lang.String |
getType()
Type of the feature, must be unique among all of the features.
|
boolean |
isMultipleFeaturesPerBuildTypeAllowed()
Returns true if single build type can contain more than one build feature of this type.
|
boolean |
isRequiresAgent() |
boolean |
isUnchangedBySettingsFreeze() |
@NotNull public abstract java.lang.String getType()
@NotNull public abstract java.lang.String getDisplayName()
@NotNull public java.lang.String describeParameters(@NotNull java.util.Map<java.lang.String,java.lang.String> params)
params
- parameters to describe@Nullable public PropertiesProcessor getParametersProcessor()
@Nullable public abstract java.lang.String getEditParametersUrl()
@Nullable public java.util.Map<java.lang.String,java.lang.String> getDefaultParameters()
public boolean isMultipleFeaturesPerBuildTypeAllowed()
public BuildFeature.PlaceToShow getPlaceToShow()
BuildFeature.PlaceToShow
public boolean isRequiresAgent()
@NotNull public java.util.Collection<Requirement> getRequirements(java.util.Map<java.lang.String,java.lang.String> params)
params
- parameters of the build featurepublic boolean isUnchangedBySettingsFreeze()