提交 da4474c5 编写于 作者: K kohsuke

this is not instantiable

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18187 71c3de6d-444a-0410-be80-ed276b4c234a
上级 84d466ff
......@@ -1405,6 +1405,11 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
throw new UnsupportedOperationException();
}
@Override
public boolean isInstantiable() {
return false;
}
// to route /descriptor/FQCN/xxx to getDescriptor(FQCN).xxx
public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) {
return Hudson.getInstance().getDescriptor(token);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册