mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
support conditional ManagementLink objects
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9964 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
1f3b1e8ab6
commit
5007d000ff
2 files changed
+10
-3
No files matched your search
@@ -28,6 +28,11 @@ public abstract class ManagementLink implements ExtensionPoint, Action {
|
||||
* Mostly works like {@link Action#getIconFileName()}, except that
|
||||
* the expected icon size is 48x48, not 24x24. So if you give
|
||||
* just a file name, "/images/48x48" will be assumed.
|
||||
*
|
||||
* @return
|
||||
* As a special case, return null to exclude this object from the management link.
|
||||
* This is useful for defining {@link ManagementLink} that only shows up under
|
||||
* certain circumstances.
|
||||
*/
|
||||
public abstract String getIconFileName();
|
||||
|
||||
|
||||
Reference in new issue
Block a user