提交 665bbd0c 编写于 作者: K kohsuke

[FIXED HUDSON-2713] In 1.265.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13650 71c3de6d-444a-0410-be80-ed276b4c234a
上级 d5ba02f1
......@@ -59,6 +59,15 @@ public class ListView extends View {
this.owner = owner;
}
/**
* Returns the transient {@link Action}s associated with the top page.
*
* @see Hudson#getActions()
/
public List<Action> getActions() {
return Hudson.getInstance().getActions();
}
/**
* Returns a read-only view of all {@link Job}s in this view.
*
......
......@@ -42,6 +42,15 @@ public class MyView extends View {
return description;
}
/**
* Returns the transient {@link Action}s associated with the top page.
*
* @see Hudson#getActions()
*/
public List<Action> getActions() {
return Hudson.getInstance().getActions();
}
@Override
public TopLevelItem getItem(String name) {
return owner.getItem(name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册