Package jetbrains.buildServer.serverSide
Class RunType
- java.lang.Object
-
- jetbrains.buildServer.serverSide.RunTypeBase
-
- jetbrains.buildServer.serverSide.RunType
-
- All Implemented Interfaces:
ExecutorModeSupport,Describable,RunTypeInfo
- Direct Known Subclasses:
MockRunType,PlaceholderRunType,UnknownRunType
public abstract class RunType extends RunTypeBase implements RunTypeInfo, ExecutorModeSupport, Describable
Represents a build runner on the server side. RunType instances must be registered viaRunTypeRegistry.registerRunType(RunType)method.
-
-
Field Summary
Fields Modifier and Type Field Description static intRUN_TYPE_NAME_SIZEDeprecated.
-
Constructor Summary
Constructors Constructor Description RunType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)abstract StringgetDescription()Returns short description which will be shown in the user interfaceabstract StringgetDisplayName()Returns name of this runner to show in UI.abstract StringgetType()Returns runner type which should match the BuildRunner.getType.inthashCode()booleansupports(RunTypeExtension runTypeExtension)Returns true if given RunTypeExtension can extend given RunType.-
Methods inherited from class jetbrains.buildServer.serverSide.RunTypeBase
describeParameters, getDefaultRunnerProperties, getEditRunnerParamsJspFilePath, getIconUrl, getRunnerPropertiesProcessor, getRunnerSpecificRequirements, getTags, getViewRunnerParamsJspFilePath, isSecureParameter, processRunnerRequirements
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.agentless.ExecutorModeSupport
getSupportType
-
-
-
-
Field Detail
-
RUN_TYPE_NAME_SIZE
@Deprecated public static final int RUN_TYPE_NAME_SIZE
Deprecated.Limit to size of type name.- See Also:
getType(), Constant Field Values
-
-
Method Detail
-
getType
@NotNull public abstract String getType()
Returns runner type which should match the BuildRunner.getType.- Specified by:
getTypein interfaceRunTypeInfo- Returns:
- runner type, will be shown in Runners combobox and should match the BuildRunner.getType
The name is limited by
RUN_TYPE_NAME_SIZE.
-
getDisplayName
@NotNull public abstract String getDisplayName()
Returns name of this runner to show in UI.- Specified by:
getDisplayNamein interfaceDescribable- Specified by:
getDisplayNamein interfaceRunTypeInfo- Returns:
- see above
-
getDescription
@NotNull public abstract String getDescription()
Returns short description which will be shown in the user interface- Specified by:
getDescriptionin interfaceRunTypeInfo- Returns:
- see above
-
supports
public boolean supports(@NotNull RunTypeExtension runTypeExtension)Returns true if given RunTypeExtension can extend given RunType. I.e. runType may decide if a given extension is supported in it.- Parameters:
runTypeExtension- extension to check- Returns:
- see above
- Since:
- 2023.09
-
-