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

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

Best Java code snippets using com.atlassian.application.api.PlatformApplication (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.apiPlatformApplication

Javadoc

The com.atlassian.application.api.Application provided by the platform directly. It cannot be disabled but may or may not be licensed.

Most used methods

  • getKey

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 Sublime Text 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