提交 235e1d3b 编写于 作者: M mindless

add/fix @since tags related to ViewsTabBar feature. fix a couple javadoc typos.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36048 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a46d5ac9
......@@ -342,7 +342,7 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
private transient volatile DependencyGraph dependencyGraph;
/**
* Currently active Vies tab bar.
* Currently active Views tab bar.
*/
private volatile ViewsTabBar viewsTabBar = new DefaultViewsTabBar();
......
......@@ -81,11 +81,12 @@ public interface ViewGroup extends Saveable, ModelObject, AccessControlled {
void onViewRenamed(View view, String oldName, String newName);
/**
* Gets the TabBar for the views
* Gets the TabBar for the views.
*
* TabBar for views can be provided by extension. Only one TabBar can be active
* at a given time (Selectable by user in the global Configuration page)
* Default TabBar is provided by Hudson Platform
* at a given time (Selectable by user in the global Configuration page).
* Default TabBar is provided by Hudson Platform.
* @since 1.381
*/
ViewsTabBar getViewsTabBar();
}
......@@ -43,17 +43,18 @@ import hudson.model.ListView;
* the default configuration.
*
* @author Winston Prakash
* @since 1.378
* @since 1.381
* @see ViewsTabBarDescriptor
*/
public abstract class ViewsTabBar extends AbstractDescribableImpl<ViewsTabBar> implements ExtensionPoint {
/**
* Returns all the registered {@link ListViewColumn} descriptors.
* Returns all the registered {@link ViewsTabBar} descriptors.
*/
public static DescriptorExtensionList<ViewsTabBar, Descriptor<ViewsTabBar>> all() {
return Hudson.getInstance().<ViewsTabBar, Descriptor<ViewsTabBar>>getDescriptorList(ViewsTabBar.class);
}
@Override
public ViewsTabBarDescriptor getDescriptor() {
return (ViewsTabBarDescriptor)super.getDescriptor();
}
......
......@@ -29,7 +29,7 @@ import hudson.model.Descriptor;
* {@link Descriptor} for {@link ViewsTabBar}.
*
* @author Winston Prakash
* @since 1.378
* @since 1.381
*/
public abstract class ViewsTabBarDescriptor extends Descriptor<ViewsTabBar> {
// so far nothing different from plain Descriptor
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册