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 registeredRunTypeinstances. Gathers togetherRunTypeand availableRunTypeExtensionobjects. 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 PropertiesProcessorgetRunnerPropertiesProcessor()Returns properties processor which will be used to validate parameters specified by user.abstract RunTypegetRunType()-
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
RunTypeinstance 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:
getDefaultRunnerPropertiesin classRunTypeBase- Returns:
- merged default properties map from
RunTypeBase.getDefaultRunnerProperties()andRunTypeBase.getDefaultRunnerProperties()
-
getRunnerPropertiesProcessor
@NotNull public abstract PropertiesProcessor getRunnerPropertiesProcessor()
Description copied from class:RunTypeBaseReturns properties processor which will be used to validate parameters specified by user.- Specified by:
getRunnerPropertiesProcessorin classRunTypeBase- Returns:
- merged properties processor from
RunTypeBase.getRunnerPropertiesProcessor()andRunTypeBase.getRunnerPropertiesProcessor()
-
-