Package hudson.plugins.favoriteview
Class FavoriteViewsTabBar
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ViewsTabBar>
-
- hudson.views.ViewsTabBar
-
- hudson.plugins.favoriteview.FavoriteViewsTabBar
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ViewsTabBar>
,AccessControlled
public class FavoriteViewsTabBar extends ViewsTabBar implements AccessControlled
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FavoriteViewsTabBar.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.views.ViewsTabBar
ViewsTabBar.GlobalConfigurationImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FavoriteViewsTabBar()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkPermission(Permission p)
ACL
getACL()
static View
getView()
static View
getViewById(String id)
static String
getViewId(View view)
boolean
hasPermission(Permission p)
boolean
isFavorite(View view)
-
Methods inherited from class hudson.views.ViewsTabBar
all, getDescriptor, sort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission, hasPermission2
-
-
-
-
Method Detail
-
getView
public static View getView()
-
isFavorite
public boolean isFavorite(View view)
-
checkPermission
public void checkPermission(Permission p) throws org.springframework.security.access.AccessDeniedException
- Specified by:
checkPermission
in interfaceAccessControlled
- Throws:
org.springframework.security.access.AccessDeniedException
-
getACL
public ACL getACL()
- Specified by:
getACL
in interfaceAccessControlled
-
hasPermission
public boolean hasPermission(Permission p)
- Specified by:
hasPermission
in interfaceAccessControlled
-
-