Class RunTypeData
- java.lang.Object
-
- jetbrains.buildServer.controllers.admin.projects.RunTypeData
-
- All Implemented Interfaces:
java.lang.Comparable<RunTypeData>
public class RunTypeData extends java.lang.Object implements java.lang.Comparable<RunTypeData>
Represents information about a build runner in the form suitable for JSP
-
-
Constructor Summary
Constructors Constructor Description RunTypeData(java.lang.String runnerType)
ConstructorRunTypeData(java.lang.String runTypeInfoKey, RunTypeWithExtensions runType, java.lang.String customDisplayName, java.util.Map<java.lang.String,java.lang.String> defaultProperties, Deprecation deprecation)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RunTypeData rti)
java.util.Map<java.lang.String,java.lang.String>
getDefaultProperties()
java.lang.String
getDeprecationReason()
java.lang.String
getDeprecationReference()
DeprecationType
getDeprecationType()
java.lang.String
getDescription()
java.lang.String
getDisplayName()
Returns build runner display namejava.lang.String
getIconUrl()
java.lang.String
getKey()
RunTypeWithExtensions
getRunTypeWithExtensions()
java.util.Set<java.lang.String>
getTags()
java.lang.String
getType()
Returns type of the runnerboolean
isUnknownRunner()
Returns true if this runner is unknown (i.e.
-
-
-
Constructor Detail
-
RunTypeData
public RunTypeData(@NotNull java.lang.String runTypeInfoKey, @NotNull RunTypeWithExtensions runType, @Nullable java.lang.String customDisplayName, @Nullable java.util.Map<java.lang.String,java.lang.String> defaultProperties, @Nullable Deprecation deprecation)
Constructor- Parameters:
runType
- build runner
-
RunTypeData
public RunTypeData(@NotNull java.lang.String runnerType)
Constructor- Parameters:
runnerType
- type of the runner
-
-
Method Detail
-
getKey
@NotNull public java.lang.String getKey()
-
getType
public java.lang.String getType()
Returns type of the runner- Returns:
- type of the runner
-
getRunTypeWithExtensions
public RunTypeWithExtensions getRunTypeWithExtensions()
-
getDisplayName
public java.lang.String getDisplayName()
Returns build runner display name- Returns:
- build runner display name
-
getDescription
public java.lang.String getDescription()
-
getTags
@NotNull public java.util.Set<java.lang.String> getTags()
-
getIconUrl
@Nullable public java.lang.String getIconUrl()
-
isUnknownRunner
public boolean isUnknownRunner()
Returns true if this runner is unknown (i.e. there is no correspondingRunType
in the registry.- Returns:
- see above
-
getDefaultProperties
public java.util.Map<java.lang.String,java.lang.String> getDefaultProperties()
-
getDeprecationType
@Nullable public DeprecationType getDeprecationType()
-
getDeprecationReason
@NotNull public java.lang.String getDeprecationReason()
-
getDeprecationReference
@NotNull public java.lang.String getDeprecationReference()
-
compareTo
public int compareTo(@NotNull RunTypeData rti)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RunTypeData>
-
-