jetbrains.buildServer.serverSide
Class UnknownRunType

java.lang.Object
  extended by jetbrains.buildServer.serverSide.RunTypeBase
      extended by jetbrains.buildServer.serverSide.RunType
          extended by jetbrains.buildServer.serverSide.UnknownRunType

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
UnknownRunType(java.lang.String runnerType)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getDefaultRunnerProperties()
           
 java.lang.String getDescription()
          Returns short description which will be shown in the user interface
 java.lang.String getDisplayName()
          Returns name of this runner to show in UI.
 java.lang.String getEditRunnerParamsJspFilePath()
           
 PropertiesProcessor getRunnerPropertiesProcessor()
          Returns properties processor which will be used to validate parameters specified by user.
 java.lang.String getType()
          Returns runner type which should match the BuildRunner.getType.
 java.lang.String getViewRunnerParamsJspFilePath()
           
 
Methods inherited from class jetbrains.buildServer.serverSide.RunType
equals, hashCode
 
Methods inherited from class jetbrains.buildServer.serverSide.RunTypeBase
describeParameters, getRunnerSpecificRequirements
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownRunType

public UnknownRunType(@NotNull
                      java.lang.String runnerType)
Method Detail

getType

@NotNull
public java.lang.String getType()
Description copied from class: RunType
Returns runner type which should match the BuildRunner.getType.

Specified by:
getType in class RunType
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

public java.lang.String getDisplayName()
Description copied from class: RunType
Returns name of this runner to show in UI.

Specified by:
getDisplayName in class RunType
Returns:
see above

getDescription

public java.lang.String getDescription()
Description copied from class: RunType
Returns short description which will be shown in the user interface

Specified by:
getDescription in class RunType
Returns:
see above

getRunnerPropertiesProcessor

public PropertiesProcessor getRunnerPropertiesProcessor()
Description copied from class: RunTypeBase
Returns properties processor which will be used to validate parameters specified by user.

Specified by:
getRunnerPropertiesProcessor in class RunTypeBase
Returns:
properties processor which operates with parameters specified for the runner.

getEditRunnerParamsJspFilePath

public java.lang.String getEditRunnerParamsJspFilePath()
Specified by:
getEditRunnerParamsJspFilePath in class RunTypeBase
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 java.lang.String getViewRunnerParamsJspFilePath()
Specified by:
getViewRunnerParamsJspFilePath in class RunTypeBase
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 java.util.Map<java.lang.String,java.lang.String> getDefaultRunnerProperties()
Specified by:
getDefaultRunnerProperties in class RunTypeBase
Returns:
default properties for this runner type