Interface AgentClassServer

All Known Implementing Classes:
AgentClassServerImpl

@Internal public interface AgentClassServer
Since:
3.3
  • Method Details

    • getSystemClasspath

      @NotNull @NotNull ClassServerManifest getSystemClasspath()
      Returns:
      manifest of all the jars used to bootstrap a remote agent. Includes Plugins installed in WEB-INF/lib.
    • getJarsOnSystemClasspath

      @NotNull @NotNull Map<String,JarDescriptor> getJarsOnSystemClasspath()
      Returns:
      jars on system classpath (including P1 plugins).
    • getJarsOfSystemProvidedPlugins

      @NotNull @NotNull Map<String,JarDescriptor> getJarsOfSystemProvidedPlugins()
      Returns:
      jars on enabled system provided P2 plugins.
    • getJarsOfFrameworkBundle

      @NotNull @NotNull Map<String,JarDescriptor> getJarsOfFrameworkBundle()
      Returns:
      jars comprising framework bundle.
    • getSystemClasspath

      @NotNull @NotNull ClassServerManifest getSystemClasspath(@NotNull @NotNull Set<FileHashDescriptor> fileHashDescriptors)
      Parameters:
      fileHashDescriptors - of the jars that the agent already has locally
      Returns:
      manifest of all the jars used to bootstrap a remote agent. Includes Plugins 1 plugins installed in WEB-INF/lib.
    • getUserInstalledPlugins

      @NotNull @NotNull ClassServerManifest getUserInstalledPlugins(@NotNull @NotNull Set<FileHashDescriptor> fileHashDescriptors)
      Parameters:
      fileHashDescriptors - of the jars that the agent already has locally
      Returns:
      jarDescriptors for all the user installed plugins that are able to run on remote agents
    • getJarsOfUserInstalledPlugins

      @NotNull @NotNull Map<String,JarDescriptor> getJarsOfUserInstalledPlugins()
      Returns:
      jarDescriptors for all the user installed and enabled plugins that are able to run on remote agents
    • getSystemProvidedPlugins

      ClassServerManifest getSystemProvidedPlugins(@NotNull @NotNull Set<FileHashDescriptor> fileHashDescriptors)
      Parameters:
      fileHashDescriptors - of the jars that the agent already has locally
      Returns:
      jarDescriptors for all the system provided plugins that are able to run on remote agents
    • getPluginFrameworkBundles

      ClassServerManifest getPluginFrameworkBundles(@NotNull @NotNull Set<FileHashDescriptor> fileHashDescriptors)
      Parameters:
      fileHashDescriptors - of the jars that the agent already has locally
      Returns:
      jarDescriptors for all the plugin framework bundles
    • getPluginsAvailableForRemoteAgents

      @NotNull @NotNull Iterable<com.atlassian.plugin.Plugin> getPluginsAvailableForRemoteAgents()
      Returns:
      plugins available for remote agents
    • getPluginsEnabledForRemoteAgents

      @NotNull @NotNull Iterable<com.atlassian.plugin.Plugin> getPluginsEnabledForRemoteAgents()
      Returns:
      plugins enabled for remote agents
      Since:
      9.4.0
    • getSystemClasspathZip

      @NotNull @NotNull ByteSource getSystemClasspathZip()
      Returns:
      InputStream to a zip file containing the complete agent classpath