hudson.tasks.Builder.getProjectActions()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(134)

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

Builder.getProjectActions介绍

暂无

代码示例

代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper

public Collection<? extends Action> superGetProjectActions(AbstractProject<?, ?> project) {
  return super.getProjectActions(project);
}

代码示例来源:origin: jenkinsci/jenkins-cloudformation-plugin

@Override
public Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) {
  LOGGER.info("getProjectActions");
  return super.getProjectActions(project);
}

代码示例来源:origin: jenkinsci/maven-plugin

protected List<Action> createTransientActions() {
  List<Action> r = super.createTransientActions();
  // Fix for ISSUE-1149
  for (MavenModule module: modules.values()) {
    module.updateTransientActions();
  }
  
  if(publishers!=null)    // this method can be loaded from within the onLoad method, where this might be null
    for (BuildStep step : publishers)
      r.addAll(step.getProjectActions(this));
  if (buildWrappers!=null)
    for (BuildWrapper step : buildWrappers)
      r.addAll(step.getProjectActions(this));
  
  if (prebuilders!=null)
    for (Builder builder : prebuilders)
      r.addAll(builder.getProjectActions(this));
  if (postbuilders!=null)
    for (Builder builder : postbuilders)
      r.addAll(builder.getProjectActions(this));
  return r;
}

代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper

@Override
public Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) {
  initPython();
  if (pexec.isImplemented(6)) {
    return (Collection) pexec.execPython("get_project_actions", project);
  } else {
    return super.getProjectActions(project);
  }
}

相关文章