Package jetbrains.buildServer.serverSide
Class RunTypeWithExtensions
- java.lang.Object
-
- jetbrains.buildServer.serverSide.RunTypeBase
-
- jetbrains.buildServer.serverSide.RunTypeWithExtensions
-
- Direct Known Subclasses:
RunTypeWithExtensionsImpl
,UnknownRunTypeWithExtensions
public abstract class RunTypeWithExtensions extends RunTypeBase
Wrapper class used for all registeredRunType
instances. Gathers togetherRunType
and availableRunTypeExtension
objects. This class is not intended to be implemented in plugin code.- Since:
- 5.1
-
-
Constructor Summary
Constructors Constructor Description RunTypeWithExtensions()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Collection<? extends RunTypeExtension>
getAvailableExtensions()
abstract Map<String,String>
getDefaultRunnerProperties()
abstract PropertiesProcessor
getRunnerPropertiesProcessor()
Returns properties processor which will be used to validate parameters specified by user.abstract RunType
getRunType()
-
Methods inherited from class jetbrains.buildServer.serverSide.RunTypeBase
describeParameters, getEditRunnerParamsJspFilePath, getIconUrl, getRunnerSpecificRequirements, getTags, getViewRunnerParamsJspFilePath, isSecureParameter, processRunnerRequirements
-
-
-
-
Method Detail
-
getRunType
@NotNull public abstract RunType getRunType()
- Returns:
- reference to original
RunType
instance that is wrapped by the object
-
getAvailableExtensions
@NotNull public abstract Collection<? extends RunTypeExtension> getAvailableExtensions()
- Returns:
- collection of all available extensions for that run type
-
getDefaultRunnerProperties
@NotNull public abstract Map<String,String> getDefaultRunnerProperties()
- Specified by:
getDefaultRunnerProperties
in classRunTypeBase
- Returns:
- merged default properties map from
RunTypeBase.getDefaultRunnerProperties()
andRunTypeBase.getDefaultRunnerProperties()
-
getRunnerPropertiesProcessor
@NotNull public abstract 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:
- merged properties processor from
RunTypeBase.getRunnerPropertiesProcessor()
andRunTypeBase.getRunnerPropertiesProcessor()
-
-