本文整理了Java中hudson.model.Node.makeSearchIndex()
方法的一些代码示例,展示了Node.makeSearchIndex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.makeSearchIndex()
方法的具体详情如下:
包路径:hudson.model.Node
类名称:Node
方法名:makeSearchIndex
暂无
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
public SearchIndexBuilder superMakeSearchIndex() {
return super.makeSearchIndex();
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
@Override
public SearchIndexBuilder makeSearchIndex() {
initPython();
if (pexec.isImplemented(16)) {
return (SearchIndexBuilder) pexec.execPython("make_search_index");
} else {
return super.makeSearchIndex();
}
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
@Override
public SearchIndexBuilder makeSearchIndex() {
return super.makeSearchIndex().add("configure", "config", "configure").add("manage").add("log").add(getPrimaryView().makeSearchIndex()).add(new CollectionSearchIndex() {// for computers
protected Computer get(String key) {
return getComputer(key);
}
protected Collection<Computer> all() {
return computers.values();
}
}).add(new CollectionSearchIndex() {// for users
protected User get(String key) {
return User.get(key, false);
}
protected Collection<User> all() {
return User.getAll();
}
}).add(new CollectionSearchIndex() {// for views
protected View get(String key) {
return getView(key);
}
protected Collection<View> all() {
return views;
}
});
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
@Override
public SearchIndexBuilder makeSearchIndex() {
return super.makeSearchIndex().add("configure", "config", "configure").add("manage").add("log").add(getPrimaryView().makeSearchIndex()).add(new CollectionSearchIndex() {
// for computers
protected Computer get(String key) {
return getComputer(key);
}
protected Collection<Computer> all() {
return computers.values();
}
}).add(new CollectionSearchIndex() {
// for users
protected User get(String key) {
return User.get(key, false);
}
protected Collection<User> all() {
return User.getAll();
}
}).add(new CollectionSearchIndex() {
// for views
protected View get(String key) {
return getView(key);
}
protected Collection<View> all() {
return views;
}
});
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
@Override
public SearchIndexBuilder makeSearchIndex() {
return super.makeSearchIndex().add("configure", "config", "configure").add("manage").add("log").add(getPrimaryView().makeSearchIndex()).add(new CollectionSearchIndex() {// for computers
protected Computer get(String key) {
return getComputer(key);
}
protected Collection<Computer> all() {
return computers.values();
}
}).add(new CollectionSearchIndex() {// for users
protected User get(String key) {
return User.get(key, false);
}
protected Collection<User> all() {
return User.getAll();
}
}).add(new CollectionSearchIndex() {// for views
protected View get(String key) {
return getView(key);
}
protected Collection<View> all() {
return views;
}
});
}
代码示例来源:origin: hudson/hudson-2.x
@Override
public SearchIndexBuilder makeSearchIndex() {
return super.makeSearchIndex().add("configure", "config", "configure").add("manage").add("log").add(getPrimaryView().makeSearchIndex()).add(new CollectionSearchIndex() {// for computers
protected Computer get(String key) {
return getComputer(key);
}
protected Collection<Computer> all() {
return computers.values();
}
}).add(new CollectionSearchIndex() {// for users
protected User get(String key) {
return User.get(key, false);
}
protected Collection<User> all() {
return User.getAll();
}
}).add(new CollectionSearchIndex() {// for views
protected View get(String key) {
return getView(key);
}
protected Collection<View> all() {
return views;
}
});
}
内容来源于网络,如有侵权,请联系作者删除!