net.nemerosa.ontrack.model.support.Action.of()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(107)

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

Action.of介绍

暂无

代码示例

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-stash

@Override
  public Action getAction() {
    return Action.of("stash-configurations", "BitBucket configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-combined

@Override
  public Action getAction() {
    return Action.of("combined-issue-service-configurations", "Combined issue services configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-github

@Override
  public Action getAction() {
    return Action.of("github-configurations", "GitHub configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-jira

@Override
  public Action getAction() {
    return Action.of("jira-configurations", "JIRA configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-svn

@Override
  public Action getAction() {
    return Action.of("svn-configurations", "SVN configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-jenkins

@Override
  public Action getAction() {
    return Action.of("jenkins-configurations", "Jenkins configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-svn

@Override
public Action getAction() {
  return Action.of("svn-changelog", "Change log", "changelog");
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-gitlab

@Override
  public Action getAction() {
    return Action.of("gitlab-configurations", "GitLab configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-artifactory

@Override
  public Action getAction() {
    return Action.of("artifactory-configurations", "Artifactory configurations", "configurations");
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-model

public Action withUri(String uri) {
  return Action.of(id, name, uri);
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-svn

@Override
public Optional<Action> getAction(ProjectEntity entity) {
  if (entity instanceof Branch
      && propertyService.hasProperty(entity, SVNBranchConfigurationPropertyType.class)
      && securityService.isProjectFunctionGranted(entity, BuildCreate.class)) {
    return Optional.of(Action.of(
        "svn-sync",
        "SVN <-> Build sync",
        String.format("sync/%d", entity.id())
    ));
  } else {
    return Optional.empty();
  }
}

代码示例来源:origin: net.nemerosa.ontrack/ontrack-extension-ldap

@Override
public Action getAction() {
  LDAPSettings settings = cachedSettingsService.getCachedSettings(LDAPSettings.class);
  if (settings.isEnabled()) {
    return Action.of("ldap-mapping", "LDAP Mapping", "ldap-mapping");
  } else {
    return null;
  }
}

相关文章

Action类方法