public abstract class FolderIcon extends hudson.model.AbstractStatusIcon implements hudson.model.Describable<FolderIcon>, hudson.ExtensionPoint
StatusIcon for a folder.
Possible subtypes can range from dumb icons that always render the same thing to smarter icons that change its icon based on the properties/contents of the folder.
| Constructor and Description |
|---|
FolderIcon() |
| Modifier and Type | Method and Description |
|---|---|
FolderIconDescriptor |
getDescriptor() |
protected void |
setFolder(Folder folder)
Deprecated.
|
protected void |
setOwner(AbstractFolder<?> folder)
Called by
AbstractFolder to set the owner that this icon is used for. |
protected void setOwner(AbstractFolder<?> folder)
AbstractFolder to set the owner that this icon is used for.
If you are implementing FolderIcon that changes the behaviour based on the contents/properties
of the folder, store the folder object to a field and use that.
protected void setFolder(Folder folder)
public FolderIconDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<FolderIcon>Copyright © 2016. All rights reserved.