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

How to use
PluginFrameworkUtils
in
com.atlassian.plugin.util

Best Java code snippets using com.atlassian.plugin.util.PluginFrameworkUtils (Showing top 2 results out of 315)

origin: com.atlassian.devrel/developer-toolbox-plugin

private void pluginsVersion(Map<String, String> container) {
  container.put("Atlassian Plugins", PluginFrameworkUtils.getPluginFrameworkVersion());
}
origin: com.atlassian.plugins/atlassian-plugins-osgi

private void enforceFrameworkVersion(final Map<String, String> exportPackages) {
  final String frameworkVersion = PluginFrameworkUtils.getPluginFrameworkVersion();
  // convert the version to OSGi format.
  final DefaultOsgiVersionConverter converter = new DefaultOsgiVersionConverter();
  final String frameworkVersionOsgi = converter.getVersion(frameworkVersion);
  exportPackages.keySet().stream()
      .filter(ExportsBuilder::isPluginFrameworkPackage)
      .forEach(pkg -> exportPackages.put(pkg, frameworkVersionOsgi));
}
com.atlassian.plugin.utilPluginFrameworkUtils

Javadoc

General utility functions for plugin framework.

Most used methods

  • getPluginFrameworkVersion
    Get the current plugin framework version. This is not necessarily in OSGi format as it is generated

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • From CI to AI: The AI layer in your organization
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