com.atlassian.bamboo.agent.classserver
Interface AgentClassServer

All Known Implementing Classes:
AgentClassServerImpl

public interface AgentClassServer

Provides AgentClassServer with JarDescriptors

Since:
3.3

Method Summary
 java.lang.Iterable<com.atlassian.plugin.Plugin> getPluginsAvailableForRemoteAgents()
           
 ClassServerManifest getSystemClasspath()
           
 ClassServerManifest getSystemClasspath(java.util.Set<FileHashDescriptor> fileHashDescriptors)
           
 com.google.common.io.InputSupplier<java.io.InputStream> getSystemClasspathZip()
           
 ClassServerManifest getSystemProvidedPlugins(java.util.Set<FileHashDescriptor> fileHashDescriptors)
           
 ClassServerManifest getUserInstalledPlugins(java.util.Set<FileHashDescriptor> fileHashDescriptors)
           
 

Method Detail

getSystemClasspath

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

getSystemClasspath

@NotNull
ClassServerManifest getSystemClasspath(@NotNull
                                               java.util.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
ClassServerManifest getUserInstalledPlugins(@NotNull
                                                    java.util.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

getSystemProvidedPlugins

ClassServerManifest getSystemProvidedPlugins(@NotNull
                                             java.util.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

getPluginsAvailableForRemoteAgents

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

getSystemClasspathZip

@NotNull
com.google.common.io.InputSupplier<java.io.InputStream> getSystemClasspathZip()
Returns:
InputStream to a zip file containing the complete agent classpath


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.