hudson.Plugin.postInitialize()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(183)

本文整理了Java中hudson.Plugin.postInitialize()方法的一些代码示例,展示了Plugin.postInitialize()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Plugin.postInitialize()方法的具体详情如下:
包路径:hudson.Plugin
类名称:Plugin
方法名:postInitialize

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));

相关文章