hudson.model.Run.getACL()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(97)

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

Run.getACL介绍

暂无

代码示例

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

protected ACL getACL() {
  return run.getACL();
}

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

protected ACL getACL() {
  return run.getACL();
}

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

@Override
protected ACL getACL() {
  return build.getACL();
}

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

public ACL superGetACL() {
  return super.getACL();
}

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

public void checkPermission(Permission p) {
  getACL().checkPermission(p);
}

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

public boolean hasPermission(Permission p) {
  return getACL().hasPermission(p);
}

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

public void checkPermission(Permission p) {
  getACL().checkPermission(p);
}

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

public void checkPermission(Permission p) {
  getACL().checkPermission(p);
}

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

public void checkPermission(Permission p) {
  getACL().checkPermission(p);
}

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

public boolean hasPermission(Permission p) {
  return getACL().hasPermission(p);
}

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

public boolean hasPermission(Permission p) {
  return getACL().hasPermission(p);
}

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

public boolean hasPermission(Permission p) {
  return getACL().hasPermission(p);
}

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

@Override
public ACL getACL() {
  initPython();
  if (pexec.isImplemented(57)) {
    return (ACL) pexec.execPython("get_acl");
  } else {
    return super.getACL();
  }
}

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

try {
  Authentication auth = user.impersonate();
  if (run != null && !run.getACL().hasPermission(auth, Item.READ)) {
    if (SEND_TO_USERS_WITHOUT_READ) {
      listener.getLogger().printf("Warning: user %s has no permission to view %s, but sending mail anyway%n", userAddress, run.getFullDisplayName());

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

);
  if (runAuth != ACL.SYSTEM && run.getACL().hasPermission(runAuth, CredentialsProvider.USE_ITEM)) {
    candidates.addAll(
        CredentialsProvider.lookupCredentials(type, run.getParent(), ACL.SYSTEM, domainRequirements)
List<C> candidates = new ArrayList<C>();
if (triggeredBy != null && run == triggeredBy.getValue()
    && run.getACL().hasPermission(a, CredentialsProvider.USE_OWN)) {
if (run.getACL().hasPermission(a, CredentialsProvider.USE_ITEM)) {
  );
  if (runAuth != ACL.SYSTEM && run.getACL().hasPermission(runAuth, CredentialsProvider.USE_ITEM)) {
    candidates.addAll(
        CredentialsProvider.lookupCredentials(type, run.getParent(), ACL.SYSTEM, domainRequirements)

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

);
  if (runAuth != ACL.SYSTEM && run.getACL().hasPermission(runAuth, CredentialsProvider.USE_ITEM)) {
    candidates.addAll(
        CredentialsProvider.lookupCredentials(type, run.getParent(), ACL.SYSTEM, domainRequirements)
List<C> candidates = new ArrayList<C>();
if (triggeredBy != null && run == triggeredBy.getValue()
    && run.getACL().hasPermission(a, CredentialsProvider.USE_OWN)) {
if (run.getACL().hasPermission(a, CredentialsProvider.USE_ITEM)) {
  );
  if (runAuth != ACL.SYSTEM && run.getACL().hasPermission(runAuth, CredentialsProvider.USE_ITEM)) {
    candidates.addAll(
        CredentialsProvider.lookupCredentials(type, run.getParent(), ACL.SYSTEM, domainRequirements)

相关文章

微信公众号

最新文章

更多

Run类方法