Package jenkins.model
Interface ModelObjectWithContextMenu.ContextMenuVisibility
- All Superinterfaces:
- Action,- ModelObject
- Enclosing interface:
- ModelObjectWithContextMenu
Allows an action to decide whether it will be visible in a context menu.
- Since:
- 1.538
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDetermines whether to show this action right now.Methods inherited from interface hudson.model.ActiongetDisplayName, getIconFileName, getUrlName
- 
Method Details- 
isVisibleboolean isVisible()Determines whether to show this action right now. Can always return false, for an action which should never be in the context menu; or could examineStapler.getCurrentRequest2().- Returns:
- true to display it, false to hide
- See Also:
 
 
-