hudson.model.User.load()方法的使用及代码示例

x33g5p2x  于2022-01-31 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(132)

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

User.load介绍

[英]Loads the other data from disk if it's available.
[中]从磁盘加载其他数据(如果可用)。

代码示例

代码示例来源:origin: jenkinsci/jenkins

private User(String id, String fullName) {
  this.id = id;
  this.fullName = fullName;
  load(id);
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

private User(String id, String fullName) {
  this.id = id;
  this.fullName = fullName;
  load();
}

代码示例来源:origin: hudson/hudson-2.x

private User(String id, String fullName) {
  this.id = id;
  this.fullName = fullName;
  load();
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

private User(String id, String fullName) {
  this.id = id;
  this.fullName = fullName;
  load();
}

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

private User(String id, String fullName) {
  this.id = id;
  this.fullName = fullName;
  load();
}

代码示例来源:origin: org.eclipse.hudson/hudson-core

private User(String id, String fullName) {
  this.id = id;
  this.fullName = fullName;
  load();
}

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

/**
 * Reloads the configuration from disk.
 */
public static void reload() {
  // iterate over an array to be concurrency-safe
  for( User u : byName.values().toArray(new User[0]) )
    u.load();
}

代码示例来源:origin: hudson/hudson-2.x

/**
 * Reloads the configuration from disk.
 */
public static void reload() {
  // iterate over an array to be concurrency-safe
  for( User u : byName.values().toArray(new User[0]) )
    u.load();
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

/**
 * Reloads the configuration from disk.
 */
public static void reload() {
  // iterate over an array to be concurrency-safe
  for( User u : byName.values().toArray(new User[0]) )
    u.load();
}

代码示例来源:origin: org.eclipse.hudson/hudson-core

/**
 * Reloads the configuration from disk.
 */
public static void reload() {
  // iterate over an array to be concurrency-safe
  Collection<User> values = byName.values();
  for (User u : values.toArray(new User[values.size()])) {
    u.load();
  }
}

相关文章