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