Class 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 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
      • 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 corresponding RunType 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 interface java.lang.Comparable<RunTypeData>