mirror of https://github.com/jenkinsci/jenkins.git
Merge branch 'add-icons-to-command-palette' of github.com:janfaracik/jenkins into add-icons-to-command-palette
This commit is contained in:
commit
1b9faa8fb0
|
@ -1109,11 +1109,6 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
|
|||
return getUrl();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSearchIcon() {
|
||||
return this.getIconClassName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@link RetentionStrategy} associated with this computer.
|
||||
*
|
||||
|
|
|
@ -35,6 +35,7 @@ import java.util.concurrent.Future;
|
|||
import jenkins.agents.IOfflineCause;
|
||||
import org.jenkins.ui.icon.Icon;
|
||||
import org.jenkins.ui.icon.IconSet;
|
||||
import org.jenkins.ui.icon.IconSpec;
|
||||
import org.kohsuke.accmod.Restricted;
|
||||
import org.kohsuke.accmod.restrictions.Beta;
|
||||
|
||||
|
@ -44,7 +45,7 @@ import org.kohsuke.accmod.restrictions.Beta;
|
|||
* @since 2.480
|
||||
*/
|
||||
@Restricted(Beta.class)
|
||||
public interface IComputer extends AccessControlled {
|
||||
public interface IComputer extends AccessControlled, IconSpec {
|
||||
/**
|
||||
* Returns {@link Node#getNodeName() the name of the node}.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue