congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PlatformApplication.getKey
Code IndexAdd Tabnine to your IDE (free)

How to use
getKey
method
in
com.atlassian.application.api.PlatformApplication

Best Java code snippets using com.atlassian.application.api.PlatformApplication.getKey (Showing top 3 results out of 315)

origin: com.atlassian.jira/jira-core

private boolean isPlatformApplication(final JiraApplication application)
{
  return application.getKey().equals(applicationManager.getPlatform().getKey());
}
origin: com.atlassian.jira/jira-core

private boolean isNonCoreApplicationDefinition(final ApplicationRoleDefinitions.ApplicationRoleDefinition definition)
{
  return !applicationManager.getPlatform().getKey().equals(definition.key());
}
origin: com.atlassian.jira/jira-tests

@Override
public Option<Application> getApplication(final ApplicationKey key)
{
  final Application application = applications.get(key);
  if (application == null)
  {
    if (platformApplication.isDefined() && platformApplication.get().getKey().equals(key))
    {
      return platformApplication.map(Application.class::cast);
    }
    else
    {
      return Option.none();
    }
  }
  else
  {
    return Option.some(application);
  }
}
com.atlassian.application.apiPlatformApplicationgetKey

Popular methods of PlatformApplication

    Popular in Java

    • Making http post requests using okhttp
    • setScale (BigDecimal)
    • addToBackStack (FragmentTransaction)
    • notifyDataSetChanged (ArrayAdapter)
    • String (java.lang)
    • Time (java.sql)
      Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
    • SortedMap (java.util)
      A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
    • Servlet (javax.servlet)
      Defines methods that all servlets must implement. A servlet is a small Java program that runs within
    • Get (org.apache.hadoop.hbase.client)
      Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
    • Logger (org.apache.log4j)
      This is the central class in the log4j package. Most logging operations, except configuration, are d
    • Top PhpStorm plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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