Class RemoteAgent
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent
-
- All Implemented Interfaces:
Agent
- Direct Known Subclasses:
ElasticAgent
public class RemoteAgent extends Object implements Agent
-
-
Constructor Summary
Constructors Constructor Description RemoteAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureIgnoreServerCertName()If the system property "bamboo.agent.ignoreServerCertName" is set to "true", the configure JSSE to allow SSL connections to servers presenting certificates with non-matching names.protected voidexportContextProperties(@Nullable AgentContext context)Exports the user properties from the givenAgentContextas system properties.@NotNull AgentContextgetAgentContext()static @NotNull AgentContextgetContext()static @NotNull ServerFingerprintgetFingerprint()protected Stream<String>getPreApplicationContextFiles()protected Stream<String>getSpringStartupApplicationContextFiles()protected Stream<String>getSpringStartupApplicationContextFilesEphemeral()@Nullable UUIDgetUuid()static voidmain(String[] args)voidstart(@Nullable AgentContext context)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
start
public void start(@Nullable @Nullable AgentContext context)
-
exportContextProperties
protected void exportContextProperties(@Nullable @Nullable AgentContext context)Exports the user properties from the given
AgentContextas system properties.- Parameters:
context- TheAgentContextfrom which the user properties should be exported.
-
configureIgnoreServerCertName
protected void configureIgnoreServerCertName()
If the system property "bamboo.agent.ignoreServerCertName" is set to "true", the configure JSSE to allow SSL connections to servers presenting certificates with non-matching names.
-
getSpringStartupApplicationContextFilesEphemeral
protected Stream<String> getSpringStartupApplicationContextFilesEphemeral()
-
getSpringStartupApplicationContextFiles
protected Stream<String> getSpringStartupApplicationContextFiles()
-
getContext
@NotNull public static @NotNull AgentContext getContext()
-
getAgentContext
@NotNull public @NotNull AgentContext getAgentContext()
-
getUuid
@Nullable public @Nullable UUID getUuid()
-
getFingerprint
@NotNull public static @NotNull ServerFingerprint getFingerprint()
-
-