Class RunType

    • Constructor Detail

      • RunType

        public RunType()
    • Method Detail

      • getType

        @NotNull
        public abstract java.lang.String getType()
        Returns runner type which should match the BuildRunner.getType.
        Specified by:
        getType in interface RunTypeInfo
        Returns:
        runner type, will be shown in Runners combobox and should match the BuildRunner.getType The name is limited by RUN_TYPE_NAME_SIZE.
      • getDisplayName

        @NotNull
        public abstract java.lang.String getDisplayName()
        Returns name of this runner to show in UI.
        Specified by:
        getDisplayName in interface Describable
        Specified by:
        getDisplayName in interface RunTypeInfo
        Returns:
        see above
      • getDescription

        @NotNull
        public abstract java.lang.String getDescription()
        Returns short description which will be shown in the user interface
        Specified by:
        getDescription in interface RunTypeInfo
        Returns:
        see above
      • supports

        public boolean supports​(@NotNull
                                RunTypeExtension runTypeExtension)
        Returns true if given RunTypeExtension can extend given RunType. I.e. runType may decide if a given extension is supported in it.
        Parameters:
        runTypeExtension - extension to check
        Returns:
        see above
        Since:
        2023.09
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object