提交 a96f1f88 编写于 作者: K kohsuke

fixed a regression

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15730 71c3de6d-444a-0410-be80-ed276b4c234a
上级 5280ae23
......@@ -41,6 +41,7 @@ import hudson.util.EnumConverter;
import java.io.IOException;
import java.util.Set;
import java.util.List;
import org.kohsuke.stapler.Stapler;
......@@ -190,6 +191,10 @@ public abstract class Node extends AbstractModelObject implements Describable<No
*/
public abstract DescribableList<NodeProperty<?>, NodePropertyDescriptor> getNodeProperties();
// used in the Jelly script to expose descriptors
public List<NodePropertyDescriptor> getNodePropertyDescriptors() {
return NodeProperty.for_(this);
}
/**
* @deprecated
* Check with Tom to see if we really need this method.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册