|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder
public final class ClasspathBuilder
Builds a ClassLoader
from the /agentServer/classpath.zip
Method Summary | |
---|---|
static java.lang.ClassLoader |
build(java.io.File home,
java.lang.Iterable<java.io.File> classPathDirectories,
AgentContext agentContext)
Builds a ClassLoader from the /agentServer/classpath.zip |
static java.util.Set<java.io.File> |
getRemoteResources(AgentContext agentContext,
java.io.File home,
java.lang.Iterable<java.io.File> classpathDirectories,
java.lang.String resourceName)
Downloads and extracts the represented by the resource name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.ClassLoader build(java.io.File home, java.lang.Iterable<java.io.File> classPathDirectories, AgentContext agentContext) throws java.io.IOException
ClassLoader
from the /agentServer/classpath.zip
home
- of the Remote AgentclassPathDirectories
- of the $BAMBOO_AGENT_HOME/classpath directoryagentContext
- of the agent
java.io.IOException
- if a network or file system error occurspublic static java.util.Set<java.io.File> getRemoteResources(AgentContext agentContext, java.io.File home, java.lang.Iterable<java.io.File> classpathDirectories, java.lang.String resourceName) throws java.io.IOException
agentContext
- used for agent bootstrapclasspathDirectories
- directory to extract jars toresourceName
- of the uberjar
java.io.IOException
- if any network or file system problems occur
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |