提交 a49ccd1e 编写于 作者: K kohsuke

work with Tom later when he comes back online

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15707 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e6632898
......@@ -191,6 +191,10 @@ public abstract class Node extends AbstractModelObject implements Describable<No
*/
public abstract DescribableList<NodeProperty<?>, NodePropertyDescriptor> getNodeProperties();
/**
* @deprecated
* Check with Tom to see if we really need this method.
*/
public <N extends NodeProperty<?>> N getNodeProperty(Class<N> clazz) {
return getNodeProperties().get(clazz);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册