hudson.views
Class ViewsTabBar

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<ViewsTabBar>
      extended by hudson.views.ViewsTabBar
All Implemented Interfaces:
ExtensionPoint, Describable<ViewsTabBar>
Direct Known Subclasses:
DefaultViewsTabBar

public abstract class ViewsTabBar
extends AbstractDescribableImpl<ViewsTabBar>
implements ExtensionPoint

Extension point for adding a ViewsTabBar header to Projects ListView.

This object must have the viewTabs.jelly. This view is called once when the project views main panel is built. The "views" attribute is set to the "Collection of views".

There also must be a default constructor, which is invoked to create a Views TabBar in the default configuration.

Since:
1.381
Author:
Winston Prakash
See Also:
ViewsTabBarDescriptor

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ViewsTabBar()
           
 
Method Summary
static DescriptorExtensionList<ViewsTabBar,Descriptor<ViewsTabBar>> all()
          Returns all the registered ViewsTabBar descriptors.
 ViewsTabBarDescriptor getDescriptor()
          Gets the descriptor for this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewsTabBar

public ViewsTabBar()
Method Detail

all

public static DescriptorExtensionList<ViewsTabBar,Descriptor<ViewsTabBar>> all()
Returns all the registered ViewsTabBar descriptors.


getDescriptor

public ViewsTabBarDescriptor getDescriptor()
Description copied from interface: Describable
Gets the descriptor for this instance.

Descriptor is a singleton for every concrete Describable implementation, so if a.getClass()==b.getClass() then a.getDescriptor()==b.getDescriptor() must hold.

Specified by:
getDescriptor in interface Describable<ViewsTabBar>
Overrides:
getDescriptor in class AbstractDescribableImpl<ViewsTabBar>


Copyright © 2004-2013 Hudson. All Rights Reserved.