public interface StatusIcon
Itemcan return this from the "getIconColor" method so that its "status icon" can be shown in Hudson UI.
For future compatibility, please extend from
AbstractStatusIconinstead of implementing this directly, so that we can add methods later.
This is a generalization of
- Kohsuke Kawaguchi
- See Also:
getImageOfReturns the URL to the image.
size- The size specified. Must support "16x16", "24x24", and "32x32" at least. For forward compatibility, if you receive a size that's not supported, consider returning your biggest icon (and let the browser rescale.)
- The URL is rendered as is in the img @src attribute, so it must contain the context path, etc.
String getDescription()Gets the human-readable description used as img/@alt.