Tabnine Logo
CustomFieldParams.isEmpty
Code IndexAdd Tabnine to your IDE (free)

How to use
isEmpty
method
in
com.atlassian.jira.issue.customfields.view.CustomFieldParams

Best Java code snippets using com.atlassian.jira.issue.customfields.view.CustomFieldParams.isEmpty (Showing top 9 results out of 315)

origin: com.atlassian.jira/jira-core

@Override
public boolean hasParam(Map parameters)
{
  CustomFieldParams relevantParams = getRelevantParams(parameters);
  return !relevantParams.isEmpty();
}
origin: com.atlassian.jira/jira-core

return ((CustomFieldParams) value).isEmpty();
origin: com.atlassian.jira/jira-core

public Map<String, Option> getValueFromCustomFieldParams(CustomFieldParams relevantParams) throws FieldValidationException
{
  if (relevantParams != null && !relevantParams.isEmpty())
  {
    try
    {
      return getOptionMapFromCustomFieldParams(relevantParams);
    }
    catch (final FieldValidationException e)
    {
      return null;
    }
  }
  else
  {
    return null;
  }
}
origin: com.atlassian.jira/jira-core

@Override
public Set<Label> getValueFromCustomFieldParams(CustomFieldParams customFieldParams) throws FieldValidationException
{
  if (customFieldParams == null || customFieldParams.isEmpty())
  {
    return null;
  }
  final Collection<String> normalParams = (Collection<String>) customFieldParams.getValuesForKey(null); //single field types should not scope their parameters
  if (normalParams == null || normalParams.isEmpty())
  {
    return null;
  }
  return convertStringsToLabels(normalParams);
}
origin: com.atlassian.jira/jira-api

public void populateFromQuery(final ApplicationUser user, final FieldValuesHolder fieldValuesHolder, final Query query, final SearchContext searchContext)
{
  final CustomFieldParams customFieldParams = getParamsFromSearchRequest(user, query, searchContext);
  if (customFieldParams != null && !customFieldParams.isEmpty())
  {
    fieldValuesHolder.put(urlParameterName, customFieldParams);
  }
}
origin: com.atlassian.jira/jira-core

if (!params.isEmpty())
origin: com.atlassian.jira/jira-api

public Clause getSearchClause(final ApplicationUser user, final FieldValuesHolder fieldValuesHolder)
{
  if (fieldValuesHolder.containsKey(urlParameterName))
  {
    CustomFieldParams customFieldParams = (CustomFieldParams) fieldValuesHolder.get(urlParameterName);
    if (customFieldParams != null && !customFieldParams.isEmpty())
    {
      return getClauseFromParams(user, customFieldParams);
    }
  }
  return null;
}
origin: com.atlassian.jira.plugins/atlassian-jira-rpc-plugin

if (!customFieldParams.isEmpty())
origin: com.atlassian.jira/jira-core

public void validateFromParams(CustomFieldParams relevantParams, ErrorCollection errorCollectionToAddTo, FieldConfig config)
  if (relevantParams == null || relevantParams.isEmpty())
com.atlassian.jira.issue.customfields.viewCustomFieldParamsisEmpty

Popular methods of CustomFieldParams

  • getValuesForKey
  • containsKey
  • getCustomField
  • getFirstValueForKey
  • getFirstValueForNullKey
  • getKeysAndValues
  • getValuesForNullKey
  • getAllValues
  • put
  • setCustomField
  • transformObjectsToStrings
  • transformObjectsToStrings

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JOptionPane (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now