Package jetbrains.buildServer.serverSide
Class UnknownRunType
- java.lang.Object
-
- jetbrains.buildServer.serverSide.RunTypeBase
-
- jetbrains.buildServer.serverSide.RunType
-
- jetbrains.buildServer.serverSide.UnknownRunType
-
- All Implemented Interfaces:
ExecutorModeSupport,Describable,RunTypeInfo
public class UnknownRunType extends RunType
Represents an unknown type of runner.- Since:
- 6.0
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.serverSide.RunType
RUN_TYPE_NAME_SIZE
-
-
Constructor Summary
Constructors Constructor Description UnknownRunType(String runnerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getDefaultRunnerProperties()StringgetDescription()Returns short description which will be shown in the user interfaceStringgetDisplayName()Returns name of this runner to show in UI.StringgetEditRunnerParamsJspFilePath()PropertiesProcessorgetRunnerPropertiesProcessor()Returns properties processor which will be used to validate parameters specified by user.StringgetType()Returns runner type which should match the BuildRunner.getType.StringgetViewRunnerParamsJspFilePath()-
Methods inherited from class jetbrains.buildServer.serverSide.RunTypeBase
describeParameters, getIconUrl, getRunnerSpecificRequirements, getTags, 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
-
-
-
-
Constructor Detail
-
UnknownRunType
public UnknownRunType(@NotNull String runnerType)
-
-
Method Detail
-
getType
@NotNull public String getType()
Description copied from class:RunTypeReturns runner type which should match the BuildRunner.getType.- Specified by:
getTypein interfaceRunTypeInfo- Specified by:
getTypein classRunType- Returns:
- runner type, will be shown in Runners combobox and should match the BuildRunner.getType
The name is limited by
RunType.RUN_TYPE_NAME_SIZE.
-
getDisplayName
@NotNull public String getDisplayName()
Description copied from class:RunTypeReturns name of this runner to show in UI.- Specified by:
getDisplayNamein interfaceDescribable- Specified by:
getDisplayNamein interfaceRunTypeInfo- Specified by:
getDisplayNamein classRunType- Returns:
- see above
-
getDescription
@NotNull public String getDescription()
Description copied from class:RunTypeReturns short description which will be shown in the user interface- Specified by:
getDescriptionin interfaceRunTypeInfo- Specified by:
getDescriptionin classRunType- Returns:
- see above
-
getRunnerPropertiesProcessor
public PropertiesProcessor getRunnerPropertiesProcessor()
Description copied from class:RunTypeBaseReturns properties processor which will be used to validate parameters specified by user.- Specified by:
getRunnerPropertiesProcessorin classRunTypeBase- Returns:
- properties processor which operates with parameters specified for the runner.
-
getEditRunnerParamsJspFilePath
public String getEditRunnerParamsJspFilePath()
- Specified by:
getEditRunnerParamsJspFilePathin classRunTypeBase- Returns:
- absolute path to a JSP file or controller for editing runner parameters, should not include context path.
- See Also:
PluginDescriptor.getPluginResourcesPath(String)
-
getViewRunnerParamsJspFilePath
public String getViewRunnerParamsJspFilePath()
- Specified by:
getViewRunnerParamsJspFilePathin classRunTypeBase- Returns:
- absolute path to a JSP file or controller for displaying runner parameters, should not include context path.
- See Also:
PluginDescriptor.getPluginResourcesPath(String)
-
getDefaultRunnerProperties
public Map<String,String> getDefaultRunnerProperties()
- Specified by:
getDefaultRunnerPropertiesin classRunTypeBase- Returns:
- default properties for this runner type
-
-