Interface AgentClassServer
- All Known Implementing Classes:
AgentClassServerImpl
@Internal
public interface AgentClassServer
Provides
AgentClassServer
with JarDescriptor
s- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescription@NotNull Map<String,
JarDescriptor> @NotNull Map<String,
JarDescriptor> @NotNull Map<String,
JarDescriptor> @NotNull Map<String,
JarDescriptor> getPluginFrameworkBundles
(@NotNull Set<FileHashDescriptor> fileHashDescriptors) @NotNull Iterable<com.atlassian.plugin.Plugin>
@NotNull Iterable<com.atlassian.plugin.Plugin>
@NotNull ClassServerManifest
@NotNull ClassServerManifest
getSystemClasspath
(@NotNull Set<FileHashDescriptor> fileHashDescriptors) @NotNull ByteSource
getSystemProvidedPlugins
(@NotNull Set<FileHashDescriptor> fileHashDescriptors) @NotNull ClassServerManifest
getUserInstalledPlugins
(@NotNull Set<FileHashDescriptor> fileHashDescriptors)
-
Method Details
-
getSystemClasspath
- Returns:
- manifest of all the jars used to bootstrap a remote agent. Includes Plugins installed in WEB-INF/lib.
-
getJarsOnSystemClasspath
- Returns:
- jars on system classpath (including P1 plugins).
-
getJarsOfSystemProvidedPlugins
- Returns:
- jars on enabled system provided P2 plugins.
-
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
- 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
- Returns:
- plugins available for remote agents
-
getPluginsEnabledForRemoteAgents
- Returns:
- plugins enabled for remote agents
- Since:
- 9.4.0
-
getSystemClasspathZip
- Returns:
InputStream
to a zip file containing the complete agent classpath
-