jetbrains.buildServer.controllers.admin.projects
Class BuildRunnerBean.RunTypeInfo

java.lang.Object
  extended by jetbrains.buildServer.controllers.admin.projects.BuildRunnerBean.RunTypeInfo
All Implemented Interfaces:
java.lang.Comparable<BuildRunnerBean.RunTypeInfo>
Enclosing class:
BuildRunnerBean

public static class BuildRunnerBean.RunTypeInfo
extends java.lang.Object
implements java.lang.Comparable<BuildRunnerBean.RunTypeInfo>

Represents information about a build runner in the form suitable for JSP


Constructor Summary
BuildRunnerBean.RunTypeInfo(RunType runType)
          Constructor
BuildRunnerBean.RunTypeInfo(java.lang.String runnerType)
          Constructor
 
Method Summary
 int compareTo(BuildRunnerBean.RunTypeInfo rti)
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
          Returns build runner display name
 java.lang.String getType()
          Returns type of the runner
 boolean isUnknownRunner()
          Returns true if this runner is unknown (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildRunnerBean.RunTypeInfo

public BuildRunnerBean.RunTypeInfo(@NotNull
                                   RunType runType)
Constructor

Parameters:
runType - build runner

BuildRunnerBean.RunTypeInfo

public BuildRunnerBean.RunTypeInfo(@NotNull
                                   java.lang.String runnerType)
Constructor

Parameters:
runnerType - type of the runner
Method Detail

getType

public java.lang.String getType()
Returns type of the runner

Returns:
type of the runner

getDisplayName

public java.lang.String getDisplayName()
Returns build runner display name

Returns:
build runner display name

getDescription

public java.lang.String getDescription()

isUnknownRunner

public boolean isUnknownRunner()
Returns true if this runner is unknown (i.e. there is no corresponding RunType in the registry.

Returns:
see above

compareTo

public int compareTo(@NotNull
                     BuildRunnerBean.RunTypeInfo rti)
Specified by:
compareTo in interface java.lang.Comparable<BuildRunnerBean.RunTypeInfo>