com.atlassian.jira.project.Project.getEmail()方法的使用及代码示例

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

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

Project.getEmail介绍

暂无

代码示例

代码示例来源:origin: com.atlassian.jira/jira-core

public String getProjectEmail(final Project project) throws Exception
{
  return project.getEmail();
}

代码示例来源:origin: com.atlassian.jira/jira-core

/**
 * Returns the specified email address of the issue's project.
 * <p/>
 * @param issue The issue to be notified about
 * @return The email address of the issue's project
 */
static String getProjectEmailFromIssue(final Issue issue)
{
  return issue.getProjectObject().getEmail();
}

代码示例来源:origin: com.atlassian.jira/jira-core

public String doDefault() throws Exception
{
  this.fromAddress = getProject().getEmail();
  //if we haven't set the mail server, then put the default value in
  if (fromAddress == null)
  {
    final SMTPMailServer defaultSMTPMailServer = mailServerManager.getDefaultSMTPMailServer();
    if (defaultSMTPMailServer != null)
    { this.fromAddress = defaultSMTPMailServer.getDefaultFrom(); }
  }
  return super.doDefault();
}

代码示例来源:origin: com.atlassian.jira/jira-rest-plugin

builder.versions(project.getVersions());
builder.assigneeType(project.getAssigneeType());
builder.email(project.getEmail());
builder.projectTypeKey(project.getProjectTypeKey().getKey());
builder.expandLead().expandDescription().expandUrl();

相关文章