mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-27 03:25:21 +00:00
Implement IconSpec in IComputer
This commit is contained in:
1 parent
57910109f3
commit
26738449cd
2 files changed
+2
-6
No files matched your search
@@ -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}.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user