本文整理了Java中hudson.Plugin.postInitialize()
方法的一些代码示例,展示了Plugin.postInitialize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Plugin.postInitialize()
方法的具体详情如下:
包路径:hudson.Plugin
类名称:Plugin
方法名:postInitialize
[英]Called after #start() is called for all the plugins.
[中]
代码示例来源:origin: jenkinsci/jenkins
p.getPlugin().postInitialize();
} catch (Exception e) {
failedPlugins.add(new FailedPlugin(sn, e));
代码示例来源:origin: jenkinsci/gerrit-trigger-plugin
@Override
public void postInitialize() throws Exception {
//Call the following method for force initialization of the ReplicationQueueTaskDispatcher because
//it needs to register and listen to GerritEvent. Normally, it is lazy loaded when the first build is started.
QueueTaskDispatcher.all().size();
super.postInitialize();
}
代码示例来源:origin: jenkinsci/nodejs-plugin
@SuppressFBWarnings("UWF_NULL_FIELD")
@Override
public void postInitialize() throws Exception {
super.postInitialize();
// If installations have been read in nodejs.xml, let's convert them to
// the default persistence
if (installations != null) {
setInstallations(installations);
getConfigXml().delete();
installations = null;
}
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
p.getPlugin().postInitialize();
} catch (Exception e) {
failedPlugins.add(new FailedPlugin(sn, e));
内容来源于网络,如有侵权,请联系作者删除!