Class ClasspathBuilder
java.lang.Object
com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoader
getClassLoader
(File home, AgentContext agentContext) Builds aClassLoader
from the jars downloaded from the serversync
(AgentContext agentContext, File home, String collectionId)
-
Field Details
-
HEADER_ATLASSIAN_BAMBOO_INSTANCE_FINGERPRINT
- See Also:
-
HEADER_ATLASSIAN_BAMBOO_SERVER_FINGERPRINT
- See Also:
-
CLASSPATH_SERVLET
- See Also:
-
MANIFEST_PATH
- See Also:
-
CACHE_TEST_PATH
- See Also:
-
COLLECTION_ID_CLASSPATH
- See Also:
-
COLLECTION_ID_USER_INSTALLED_PLUGINS
- See Also:
-
COLLECTION_ID_SYSTEM_PROVIDED_PLUGINS
- See Also:
-
COLLECTION_ID_FRAMEWORK_BUNDLES
- See Also:
-
-
Method Details
-
getClassLoader
Builds aClassLoader
from the jars downloaded from the server- Parameters:
home
- of the Remote AgentagentContext
- of the agent- Returns:
- classLoader to use to start the agent
- Throws:
IOException
- if a network or file system error occurs
-
sync
@NotNull public static @NotNull List<File> sync(AgentContext agentContext, File home, String collectionId) throws IOException - Throws:
IOException
-