作者:爷们疯子2_593_278 | 来源:互联网 | 2023-08-24 11:18
本文整理了Java中com.atlassian.jira.jql.builder.JqlClauseBuilder.addEmptyCondition()方法的一些代码
本文整理了Java中com.atlassian.jira.jql.builder.JqlClauseBuilder.addEmptyCondition()
方法的一些代码示例,展示了JqlClauseBuilder.addEmptyCondition()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JqlClauseBuilder.addEmptyCondition()
方法的具体详情如下:
包路径:com.atlassian.jira.jql.builder.JqlClauseBuilder
类名称:JqlClauseBuilder
方法名:addEmptyCondition
JqlClauseBuilder.addEmptyCondition介绍
[英]Add an "IS EMPTY" condition to the current query for the passed JQL clause. This essentially adds the query clauseName IS EMPTY to the query being built.
[中]为传递的JQL子句向当前查询添加“IS EMPTY”条件。这实际上是将查询clauseName为空添加到正在生成的查询中。
代码示例
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(issueFieldConstant);
}
代码示例来源:origin: com.atlassian.jira/jira-core
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
}
代码示例来源:origin: com.atlassian.jira/jira-core
@Override
public void appendNullItem(JqlClauseBuilder clauseBuilder)
{
clauseBuilder.addEmptyCondition(clauseName);
}
代码示例来源:origin: com.atlassian.jira/jira-api
public SearchRequest getSearchUrlSuffix(final IssueConstant value, final SearchRequest searchRequest)
{
if (searchRequest == null)
{
return null;
}
else
{
final JqlQueryBuilder queryBuilder = JqlQueryBuilder.newBuilder(searchRequest.getQuery());
if (value != null)
{
final String searchValue = value.getName();
queryBuilder.where().defaultAnd().addStringCondition(getIssueFieldConstant(), Operator.EQUALS, searchValue);
}
else
{
//this is only really for 'resolution'. All other constants should never be null;
queryBuilder.where().defaultAnd().addEmptyCondition(getIssueFieldConstant());
}
return new SearchRequest(queryBuilder.buildQuery());
}
}